Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/matchers/
DNewMatchersTest.java62 when(mock.forSet(anySetOf(String.class))).thenReturn("matched"); in shouldAllowAnySet()
64 assertEquals("matched", mock.forSet(new HashSet<String>())); in shouldAllowAnySet()
65 assertEquals(null, mock.forSet(null)); in shouldAllowAnySet()
67 verify(mock, times(1)).forSet(anySetOf(String.class)); in shouldAllowAnySet()
DAnyXMatchersAcceptNullsTest.java47 when(mock.forSet(anySetOf(String.class))).thenReturn("4"); in shouldNotAcceptNullInAnyXMatchers()
54 assertEquals(null, mock.forSet(null)); in shouldNotAcceptNullInAnyXMatchers()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java195 String forSet(Set<String> anySet); in forSet() method
DMethodsImpl.java366 public String forSet(Set<String> anySet) { in forSet() method in MethodsImpl