Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/matchers/
DHamcrestMatchersTest.java68 when(mock.intArgumentReturningInt(argThat(new IntMatcher()))).thenReturn(5); in supports_primitive_matchers()
69 assertEquals(5, mock.intArgumentReturningInt(10)); in supports_primitive_matchers()
101 when(mock.intArgumentReturningInt(nonGenericMatcher())).thenReturn(5); in supports_non_generic_matchers()
102 assertEquals(5, mock.intArgumentReturningInt(10)); in supports_non_generic_matchers()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java223 int intArgumentReturningInt(int i); in intArgumentReturningInt() method
DMethodsImpl.java422 public int intArgumentReturningInt(int i) { in intArgumentReturningInt() method in MethodsImpl