mockito: Mockito 5 lab (inline mock maker, static/construction mocking, captors, BDD, strict stubs)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cfo2K4u4rF18QsPXPFnytf
This commit is contained in:
2026-10-24 17:19:45 +00:00
co-authored by Claude Sonnet 5.5
commit 8fc8bc934f
38 changed files with 689 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
receipt approved : true
then(gateway).should() : charge("acc-1", 900) ok
then(audit).should() : record("CHECKOUT", "acc-1:900") ok
shouldHaveNoMoreInteractions on audit : ok
InOrder gateway.charge -> audit.record : ok