Restore Mockito when calls that AxonIQ's test fixture recipe rewrote

Proprietary

AxonIQ'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.RestoreMockitoWhen
mod run . --recipe=io.moderne.axon.RestoreMockitoWhen

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.