Book

Mockito Cookbook

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

9h28m

Language

English

About Book

Book content

chapters 9h28m total length

Preface

Getting Started With Mockito

Creating mocks

Creating spies

Stubbing behaviour of mocks

Stubbing behaviour of spies

Verifying test doubles

Verifying with arg matchers

Refactoring with Mockito

Mockito based tools

Mocking libraries comparison

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required