Sign in Go Pro

Mockito

Test Doubles

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

This lesson describes the common types of test doubles.

In this lesson you will learn:

  • What is a test double
  • What are the most common types of test doubles
  • What a Dummy is
  • What a Fake is
  • What a Stub is and an example of its use
  • What a Mock is and an example of its use
  • Why an object returned from Mockito.mock() isn’t necessarily a mock object
  • The same object can be used as both a mock and stubs

More Info

Instructor

Links

Comments

There are no comments on this lesson, start the conversation below ...

>
You need to go PRO to post comments.

Lessons in Mockito