Restore Mockito when calls that AxonIQ's test fixture recipe rewrote
ProprietaryAxonIQ's recipe that moves Axon test fixtures to Axon Framework 5's fluent API turns every x.when(y) into x.when().command(y), Mockito's doNothing().when(mock) and lenient().when(call) included. This turns those back into x.when(y).
io. moderne. axon. RestoreMockitoWhenmod run . --recipe= io. moderne. axon. RestoreMockitoWhenInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.