Searched refs:anyCollectionOf (Results 1 – 4 of 4) sorted by relevance
42 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("matched"); in shouldAllowAnyCollection()47 verify(mock, times(1)).forCollection(anyCollectionOf(String.class)); in shouldAllowAnyCollection()
46 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("3"); in shouldNotAcceptNullInAnyXMatchers()
93 when(mock.collectionArgMethod(anyCollectionOf(String.class))).thenReturn("collection"); in should_help_out_with_unnecessary_casting_of_collections()
705 public static <T> Collection<T> anyCollectionOf(Class<T> clazz) { in anyCollectionOf() method in ArgumentMatchers