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