@Test public void should_return_this() { CharacterAssert returned = assertions.isLowerCase(); assertSame(assertions, returned); }
@Test public void should_verify_that_actual_is_lowercase() { assertions.isLowerCase(); verify(characters).assertLowerCase(assertions.info, assertions.actual); }
@Test public void should_return_this() { CharacterAssert returned = assertions.isGreaterThanOrEqualTo('b'); assertSame(assertions, returned); }
@Before public void setUp() { characters = mock(Characters.class); assertions = new CharacterAssert('a'); assertions.characters = characters; }
@Test public void should_verify_that_actual_is_greater_than_expected() { assertions.isGreaterThanOrEqualTo('b'); verify(characters).assertGreaterThanOrEqualTo(assertions.info, assertions.actual, 'b'); }