verify
Syntax sugar to enable SAM conversion syntax for MockedStatic.verify with a VerificationMode.
Example:
fooMockedStatic.verify(times(3)) { Foo.doSomething() }Content copied to clipboard
Verifies certain behavior happened once.
Alias for Mockito.verify.
Verifies certain behavior happened at least once / exact number of times / never.
Alias for Mockito.verify.
Verify multiple calls on mock Supports an easier to read style of
verify(mock) {
2 * { call() }
}Content copied to clipboard