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:
@@ -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
|
||||
Reference in New Issue
Block a user