arg That
Matches an argument that is matching the given predicate. null values will never evaluate to true.
Parameters
Matches an argument that is matching the given ArgumentMatcher.
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.