Home
last modified time | relevance | path

Searched refs:anyCollectionOf (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()
47 verify(mock, times(1)).forCollection(anyCollectionOf(String.class)); in shouldAllowAnyCollection()
DAnyXMatchersAcceptNullsTest.java46 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("3"); in shouldNotAcceptNullInAnyXMatchers()
DMoreMatchersTest.java93 when(mock.collectionArgMethod(anyCollectionOf(String.class))).thenReturn("collection"); in should_help_out_with_unnecessary_casting_of_collections()
/external/mockito/src/main/java/org/mockito/
DArgumentMatchers.java705 public static <T> Collection<T> anyCollectionOf(Class<T> clazz) { in anyCollectionOf() method in ArgumentMatchers