Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/bugs/
DCompareMatcherTest.java41 when(mock.forInteger(leq(5))).thenReturn(""); in compareNullArgument()
43 assertThat(mock.forInteger(null)).isNull();// a default value must be returned in compareNullArgument()
61 when(mock.forInteger(leq((Integer) null))).thenReturn(""); in compareToNull()
63 assertThat(mock.forInteger(null)).isNull();// a default value must be returned in compareToNull()
/external/mockito/src/test/java/org/mockitousage/matchers/
DAnyXMatchersAcceptNullsTest.java59 when(mock.forInteger(anyInt())).thenReturn("0"); in shouldNotAcceptNullInAllAnyPrimitiveWrapperMatchers()
68 assertEquals(null, mock.forInteger(null)); in shouldNotAcceptNullInAllAnyPrimitiveWrapperMatchers()
DMatchersTest.java458 when(mock.forInteger(isNull(Integer.class))).thenReturn("ok"); in null_matcher_for_primitive_wrappers()
467 assertEquals("ok", mock.forInteger(null)); in null_matcher_for_primitive_wrappers()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java77 String forInteger(Integer value); in forInteger() method
DMethodsImpl.java140 public String forInteger(Integer value) { in forInteger() method in MethodsImpl