Searched refs:forCollection (Results 1 – 4 of 4) sorted by relevance
42 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()
46 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("3"); in shouldNotAcceptNullInAnyXMatchers()53 assertEquals(null, mock.forCollection(null)); in shouldNotAcceptNullInAnyXMatchers()
199 String forCollection(Collection<String> collection); in forCollection() method
374 public String forCollection(Collection<String> collection) { in forCollection() method in MethodsImpl