@Test public void should_verify_that_actual_starts_with_sequence() { assertions.startsWith(true, false); verify(arrays).assertStartsWith(assertions.info, assertions.actual, array(true, false)); }
@Test public void should_return_this() { BooleanArrayAssert returned = assertions.startsWith(true); assertSame(assertions, returned); }
@Before public void setUp() { arrays = mock(BooleanArrays.class); assertions = new BooleanArrayAssert(emptyArray()); assertions.arrays = arrays; }