Uses of Interface
org.mockito.ArgumentMatcher
Packages that use ArgumentMatcher
Package
Description
Mockito is a mock library for java - see
Mockito class for usage.Public API related to mock method invocations.
-
Uses of ArgumentMatcher in org.mockito
Methods in org.mockito with parameters of type ArgumentMatcherModifier and TypeMethodDescriptionstatic <T> TArgumentMatchers.argThat(ArgumentMatcher<T> matcher) Allows creating custom argument matchers.static booleanArgumentMatchers.booleanThat(ArgumentMatcher<Boolean> matcher) Allows creating custombooleanargument matchers.static byteArgumentMatchers.byteThat(ArgumentMatcher<Byte> matcher) Allows creating custombyteargument matchers.static charArgumentMatchers.charThat(ArgumentMatcher<Character> matcher) Allows creating customcharargument matchers.static doubleArgumentMatchers.doubleThat(ArgumentMatcher<Double> matcher) Allows creating customdoubleargument matchers.static floatArgumentMatchers.floatThat(ArgumentMatcher<Float> matcher) Allows creating customfloatargument matchers.static intArgumentMatchers.intThat(ArgumentMatcher<Integer> matcher) Allows creating customintargument matchers.static longArgumentMatchers.longThat(ArgumentMatcher<Long> matcher) Allows creating customlongargument matchers.static shortArgumentMatchers.shortThat(ArgumentMatcher<Short> matcher) Allows creating customshortargument matchers. -
Uses of ArgumentMatcher in org.mockito.invocation
Methods in org.mockito.invocation that return types with arguments of type ArgumentMatcherModifier and TypeMethodDescriptionInvocation.getArgumentsAsMatchers()Wraps each argument usingArgumentMatchers.eq(Object)orAdditionalMatchers.aryEq(Object[])Used internally for the purposes of human-readable invocation printing.MatchableInvocation.getMatchers()The argument matchers of this invocation.