@Test public void should_verify_that_actual_starts_with_sequence() { assertions.startsWith(6f, 8f); verify(arrays).assertStartsWith(assertions.info, assertions.actual, array(6f, 8f)); }
@Test public void should_return_this() { FloatArrayAssert returned = assertions.startsWith(8f); assertSame(assertions, returned); }
@Before public void setUp() { arrays = mock(FloatArrays.class); assertions = new FloatArrayAssert(emptyArray()); assertions.arrays = arrays; }