Searched refs:genericTypeOfMatcher (Results 1 – 3 of 3) sorted by relevance
13 import static org.mockito.internal.hamcrest.MatcherGenericTypeExtractor.genericTypeOfMatcher;94 assertEquals(Integer.class, genericTypeOfMatcher(IntMatcher.class)); in findsGenericType()95 assertEquals(Integer.class, genericTypeOfMatcher(StaticIntMatcher.class)); in findsGenericType()96 assertEquals(Integer.class, genericTypeOfMatcher(IntMatcherFromInterface.class)); in findsGenericType()97 assertEquals(Integer.class, genericTypeOfMatcher(StaticIntMatcherSubclass.class)); in findsGenericType()98 assertEquals(Integer.class, genericTypeOfMatcher(IntMatcherFromInterface.class)); in findsGenericType()99 assertEquals(Integer.class, genericTypeOfMatcher(StaticIntMatcherFromInterface.class)); in findsGenericType()100 … assertEquals(Integer.class, genericTypeOfMatcher(SubclassGenericMatcherFromInterface.class)); in findsGenericType()101 assertEquals(Integer.class, genericTypeOfMatcher(InsaneEdgeCase.class)); in findsGenericType()103 assertEquals(Integer.class, genericTypeOfMatcher(new BaseMatcher<Integer>() { in findsGenericType()[all …]
11 import static org.mockito.internal.hamcrest.MatcherGenericTypeExtractor.genericTypeOfMatcher;62 return (T) defaultValue(genericTypeOfMatcher(matcher.getClass())); in argThat()
21 public static Class<?> genericTypeOfMatcher(Class<?> matcherClass) { in genericTypeOfMatcher() method in MatcherGenericTypeExtractor