Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/matchers/
DCustomMatchersTest.java42 private final class IsZeroOrOne<T extends Number> implements ArgumentMatcher<T> { class in CustomMatchersTest
96 when(mock.oneArg(byteThat(new IsZeroOrOne<Byte>()))).thenReturn("byte"); in shouldUseCustomPrimitiveNumberMatchers()
97 when(mock.oneArg(shortThat(new IsZeroOrOne<Short>()))).thenReturn("short"); in shouldUseCustomPrimitiveNumberMatchers()
98 when(mock.oneArg(intThat(new IsZeroOrOne<Integer>()))).thenReturn("int"); in shouldUseCustomPrimitiveNumberMatchers()
99 when(mock.oneArg(longThat(new IsZeroOrOne<Long>()))).thenReturn("long"); in shouldUseCustomPrimitiveNumberMatchers()
100 when(mock.oneArg(floatThat(new IsZeroOrOne<Float>()))).thenReturn("float"); in shouldUseCustomPrimitiveNumberMatchers()
101 when(mock.oneArg(doubleThat(new IsZeroOrOne<Double>()))).thenReturn("double"); in shouldUseCustomPrimitiveNumberMatchers()