Appendices
A build and toolchain reference, a JUnit 5 reference, a Mockito mocking reference, an xUnit test-patterns guide, a pattern-to-force quick reference that maps every pattern, principle, and idiom in the book to the forces it answers, and a code-first review of the wider programming-principle vocabulary beyond SOLID.
Build and toolchain reference
Reference for building and testing every example: the pinned toolchain, the Maven aggregator and per-module layout, standalone versus whole-repository builds, the scripts/ helpers, both IDEs, and the Quarkus plus JBang track.
JUnit 5 reference
Reference for the JUnit 5 annotations, lifecycle, assertions, parameterized and dynamic tests the examples use, and how Maven Surefire runs them.
Mockito reference
Reference for Mockito: mock() and @Mock, stubbing with when/thenReturn and doReturn/doThrow, spy(), verify() with times, never and InOrder, argument matchers, ArgumentCaptor, and strict stubbing, on shipping collaborators.
xUnit test patterns
Gerard Meszaros's xUnit test patterns, the four-phase test, the test-double taxonomy, fixture strategies, and the common test smells, mapped onto JUnit 5, Mockito, and AssertJ.
Pattern-to-force quick reference
Every GoF pattern, SOLID principle, and Java idiom mapped to the force that justifies it, each linked to the chapter that builds it. Scan it to find the tool for the force in front of you.
Programming principles, reviewed in code
The principle vocabulary beyond SOLID that every Java engineer is expected to recognize, each shown as a before-and-after shipping-domain snippet with the point where it starts costing more than it returns.