Book Image

Mockito Essentials

By : Sujoy Acharya
Book Image

Mockito Essentials

By: Sujoy Acharya

Overview of this book

Table of Contents (14 chapters)

Summary


This book has taught you the essentials of Mockito, such as Mockito basics, advanced usage of Mockito APIs, writing BDD with Mockito, handling legacy code with Mockito, mocking web services, and finally, this chapter covered the AJAX and GWT overview, discussed the MVP pattern, built an example of MVP with GWT, isolated DOM widgets from client-side business logic using PowerMockito, and disabled static DOM calls with PowerMockito and GWTMockUtility.

Now you should be able to isolate your business logic from external dependencies using Mockito.