Mockito Cookbook
By :
Mockito Cookbook
By:
Overview of this book
Table of Contents (17 chapters)
Mockito Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Mockito
Creating Mocks
Creating Spies and Partial Mocks
Stubbing Behavior of Mocks
Stubbing Behavior of Spies
Verifying Test Doubles
Verifying Behavior with Object Matchers
Refactoring with Mockito
Integration Testing with Mockito and DI Frameworks
Mocking Libraries Comparison
Index
Customer Reviews