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

Chapter 4. Progressive Mockito

This chapter distills the Mockito framework to its main core and provides technical examples. No previous knowledge of mocking is necessary.

The following topics are covered in this chapter:

  • Overview of Mockito

  • Exploring Mockito APIs

  • Advanced Mockito examples

  • Behavior-driven development (BDD) with Mockito