@Test public void should_return_this() { BooleanArrayAssert returned = assertions.startsWith(true); assertSame(assertions, returned); }
@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.hasSameSizeAs(other); assertSame(assertions, returned); }
@Before public void setUp() { arrays = mock(BooleanArrays.class); assertions = new BooleanArrayAssert(emptyArray()); assertions.arrays = arrays; }
@Test public void should_verify_that_actual_has_expected_size() { assertions.hasSameSizeAs(other); verify(arrays).assertHasSameSizeAs(assertions.info, assertions.actual, other); }