Searched refs:GenericMatcher (Results 1 – 2 of 2) sorted by relevance
110 abstract class GenericMatcher<T> implements ArgumentMatcher<T> { in matchesWithSubTypeExtendingGenericClass() class112 class TestMatcher extends GenericMatcher<Integer> { in matchesWithSubTypeExtendingGenericClass()126 abstract class GenericMatcher<T> implements ArgumentMatcher<T> { in dontMatchesWithSubTypeExtendingGenericClass() class128 class TestMatcher extends GenericMatcher<Integer> { in dontMatchesWithSubTypeExtendingGenericClass()147 class GenericMatcher<T> implements ArgumentMatcher<T> { in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() class156 matchesTypeSafe().apply(new GenericMatcher<Integer>(), 123); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated()160 matchesTypeSafe().apply(new GenericMatcher<Integer>(), ""); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated()
106 abstract class GenericMatcher<T> implements ArgumentMatcher<T> {} in matchesWithSubTypeExtendingGenericClass() class107 class TestMatcher extends GenericMatcher<Integer> { in matchesWithSubTypeExtendingGenericClass()120 class GenericMatcher<T> implements ArgumentMatcher<T> { in matchesWithSubTypeGenericMethod() class126 when(mock.forObject(argThat(new GenericMatcher<Integer>()))).thenReturn("x"); in matchesWithSubTypeGenericMethod()