Home
last modified time | relevance | path

Searched refs:GenericMatcher (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/invocation/
DTypeSafeMatchingTest.java110 abstract class GenericMatcher<T> implements ArgumentMatcher<T> { in matchesWithSubTypeExtendingGenericClass() class
112 class TestMatcher extends GenericMatcher<Integer> { in matchesWithSubTypeExtendingGenericClass()
126 abstract class GenericMatcher<T> implements ArgumentMatcher<T> { in dontMatchesWithSubTypeExtendingGenericClass() class
128 class TestMatcher extends GenericMatcher<Integer> { in dontMatchesWithSubTypeExtendingGenericClass()
147 class GenericMatcher<T> implements ArgumentMatcher<T> { in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() class
156 matchesTypeSafe().apply(new GenericMatcher<Integer>(), 123); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated()
160 matchesTypeSafe().apply(new GenericMatcher<Integer>(), ""); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated()
/external/mockito/src/test/java/org/mockitousage/bugs/
DCompareMatcherTest.java106 abstract class GenericMatcher<T> implements ArgumentMatcher<T> {} in matchesWithSubTypeExtendingGenericClass() class
107 class TestMatcher extends GenericMatcher<Integer> { in matchesWithSubTypeExtendingGenericClass()
120 class GenericMatcher<T> implements ArgumentMatcher<T> { in matchesWithSubTypeGenericMethod() class
126 when(mock.forObject(argThat(new GenericMatcher<Integer>()))).thenReturn("x"); in matchesWithSubTypeGenericMethod()