Back-end

A Unit Testing Practitioner’s Guide to Everyday Mockito

By Ivan Pavlov

Using Mockito is not just a matter of adding another dependency. It requires changing how you think about your unit tests while removing a lot of boilerplate. In this article, we cover multiple mock interfaces, listening invocations, matchers, and argument captors, and see firsthand how Mockito makes your tests cleaner and easier to understand.

22 minute readContinue Reading

Join the Toptal® community.