@Test public void should_verify_that_actual_is_not_empty() { assertions.isNotEmpty(); verify(strings).assertNotEmpty(assertions.description, assertions.actual); }
@Test public void should_return_this() { StringAssert returned = assertions.isNotEmpty(); assertSame(assertions, returned); }
@Before public void setUp() { strings = mock(Strings.class); assertions = new StringAssert("Yoda", mock(Description.class)); assertions.strings = strings; }