Searched refs:GenericMatcher (Results 1 – 2 of 2) sorted by relevance
114 abstract class GenericMatcher<T> implements ArgumentMatcher<T> { in matchesWithSubTypeExtendingGenericClass() class116 class TestMatcher extends GenericMatcher<Integer> { in matchesWithSubTypeExtendingGenericClass()130 abstract class GenericMatcher<T> implements ArgumentMatcher<T> { in dontMatchesWithSubTypeExtendingGenericClass() class132 class TestMatcher extends GenericMatcher<Integer> { in dontMatchesWithSubTypeExtendingGenericClass()151 class GenericMatcher<T> implements ArgumentMatcher<T> { in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() class160 matchesTypeSafe().apply(new GenericMatcher<Integer>(), 123); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated()164 matchesTypeSafe().apply(new GenericMatcher<Integer>(), ""); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated()
110 abstract class GenericMatcher<T> implements ArgumentMatcher<T> {} in matchesWithSubTypeExtendingGenericClass() class111 class TestMatcher extends GenericMatcher<Integer> { in matchesWithSubTypeExtendingGenericClass()124 class GenericMatcher<T> implements ArgumentMatcher<T> { in matchesWithSubTypeGenericMethod() class130 when(mock.forObject(argThat(new GenericMatcher<Integer>()))).thenReturn("x"); in matchesWithSubTypeGenericMethod()