Skip to content

Glossary: Software Design Patterns in Java

Mockito

A Java library for creating mocks, which are test stand-ins that record how they were called so a test can check it. Hand-written fakes are a simpler alternative for small programs.

Where the book teaches it

Related terms

Mock