Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/matchers/
DNewMatchersTest.java42 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("matched"); in shouldAllowAnyCollection()
44 assertEquals("matched", mock.forCollection(Arrays.asList("x", "y"))); in shouldAllowAnyCollection()
45 assertEquals(null, mock.forCollection(null)); in shouldAllowAnyCollection()
47 verify(mock, times(1)).forCollection(anyCollectionOf(String.class)); in shouldAllowAnyCollection()
DAnyXMatchersAcceptNullsTest.java46 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("3"); in shouldNotAcceptNullInAnyXMatchers()
53 assertEquals(null, mock.forCollection(null)); in shouldNotAcceptNullInAnyXMatchers()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java199 String forCollection(Collection<String> collection); in forCollection() method
DMethodsImpl.java374 public String forCollection(Collection<String> collection) { in forCollection() method in MethodsImpl