arg That
Creates a custom argument matcher. null values will never evaluate to true.
Parameters
Registers a custom ArgumentMatcher. The original Mockito function registers the matcher and returns null, here the required type is returned.
Parameters
matcher
The ArgumentMatcher on T to be registered.