Summary

This chapter covered the Mockito overview, unit test qualities, and the significance of Mockito in unit testing. It explained and provided examples of stubbing, answering, throwing exceptions, argument matcher, and method call verification. It also covered the Mockito architecture.

By now, you should be able to verify method calls, stub methods, and throw exceptions using the Mockito framework.

The next chapter, Accelerating Mockito, focuses on advanced Mockito topics.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.120.136