Searched refs:withBooleanVarargs (Results 1 – 1 of 1) sorted by relevance
/external/mockito/src/test/java/org/mockitousage/basicapi/ |
D | UsingVarargsTest.java | 27 boolean withBooleanVarargs(int value, boolean... b); in withBooleanVarargs() method 62 when(mock.withBooleanVarargs(1)).thenReturn(true); in shouldStubBooleanVarargs() 63 when(mock.withBooleanVarargs(1, true, false)).thenReturn(true); in shouldStubBooleanVarargs() 65 assertEquals(true, mock.withBooleanVarargs(1)); in shouldStubBooleanVarargs() 66 assertEquals(false, mock.withBooleanVarargs(9999)); in shouldStubBooleanVarargs() 68 assertEquals(true, mock.withBooleanVarargs(1, true, false)); in shouldStubBooleanVarargs() 69 assertEquals(false, mock.withBooleanVarargs(1, true, false, true)); in shouldStubBooleanVarargs() 70 assertEquals(false, mock.withBooleanVarargs(2, true, false)); in shouldStubBooleanVarargs() 71 assertEquals(false, mock.withBooleanVarargs(1, true)); in shouldStubBooleanVarargs() 72 assertEquals(false, mock.withBooleanVarargs(1, false, false)); in shouldStubBooleanVarargs() [all …]
|