Created
February 8, 2022 19:08
-
-
Save kh0ma/de38dbd7e61e6cea20ed088e7a91fdaf to your computer and use it in GitHub Desktop.
How to look at all mockito bean interactions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@MockBean | |
protected TelemetryClient telemetryClient; | |
@AfterEach | |
public void showInteractions() { | |
System.out.println(mockingDetails(telemetryClient).getInvocations()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment