Searched refs:forInteger (Results 1 – 5 of 5) sorted by relevance
41 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()
59 when(mock.forInteger(anyInt())).thenReturn("0"); in shouldNotAcceptNullInAllAnyPrimitiveWrapperMatchers()68 assertEquals(null, mock.forInteger(null)); in shouldNotAcceptNullInAllAnyPrimitiveWrapperMatchers()
458 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()
77 String forInteger(Integer value); in forInteger() method
140 public String forInteger(Integer value) { in forInteger() method in MethodsImpl