Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/matchers/
DNewMatchersTest.java32 when(mock.forList(anyListOf(String.class))).thenReturn("matched"); in shouldAllowAnyList()
34 assertEquals("matched", mock.forList(Arrays.asList("x", "y"))); in shouldAllowAnyList()
35 assertEquals(null, mock.forList(null)); in shouldAllowAnyList()
37 verify(mock, times(1)).forList(anyListOf(String.class)); in shouldAllowAnyList()
DAnyXMatchersAcceptNullsTest.java44 when(mock.forList(anyListOf(String.class))).thenReturn("1"); in shouldNotAcceptNullInAnyXMatchers()
51 assertEquals(null, mock.forList(null)); in shouldNotAcceptNullInAnyXMatchers()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java193 String forList(List<String> list); in forList() method
DMethodsImpl.java362 public String forList(List<String> list) { in forList() method in MethodsImpl