Book Image

Mastering Unit Testing Using Mockito and JUnit

By : Sujoy Acharya
Book Image

Mastering Unit Testing Using Mockito and JUnit

By: Sujoy Acharya

Overview of this book

Table of Contents (17 chapters)
Mastering Unit Testing Using Mockito and JUnit
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


This chapter provided an overview of test doubles with examples. The following topics covered dummy, stub, mock, fake, and spy. This chapter is a prerequisite for Mockito.

The next chapter will cover the Mockito framework and its advanced uses. Mockito is a mocking framework for Java. It provides the API for mock, spy, and stub creation.