Searched refs:genericTypeOfMatcher (Results 1 – 3 of 3) sorted by relevance
17 import static org.mockito.internal.hamcrest.MatcherGenericTypeExtractor.genericTypeOfMatcher;98 assertEquals(Integer.class, genericTypeOfMatcher(IntMatcher.class)); in findsGenericType()99 assertEquals(Integer.class, genericTypeOfMatcher(StaticIntMatcher.class)); in findsGenericType()100 assertEquals(Integer.class, genericTypeOfMatcher(IntMatcherFromInterface.class)); in findsGenericType()101 assertEquals(Integer.class, genericTypeOfMatcher(StaticIntMatcherSubclass.class)); in findsGenericType()102 assertEquals(Integer.class, genericTypeOfMatcher(IntMatcherFromInterface.class)); in findsGenericType()103 assertEquals(Integer.class, genericTypeOfMatcher(StaticIntMatcherFromInterface.class)); in findsGenericType()104 … assertEquals(Integer.class, genericTypeOfMatcher(SubclassGenericMatcherFromInterface.class)); in findsGenericType()105 assertEquals(Integer.class, genericTypeOfMatcher(InsaneEdgeCase.class)); in findsGenericType()107 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