thrown.expect(AssertionError.class, actualIsNull());
strings.assertDoesNotContain(mock(Description.class), null, "Yoda");
}
@Test public void should_fail_if_actual_contains_sequence() {
Description description = new TestDescription("Testing");
try {
strings.assertDoesNotContain(description, "Yoda", "oda");
} catch (AssertionError e) {
assertEquals("[Testing] expecting:<'Yoda'> not to contain:<'oda'>", e.getMessage());
verify(failures).failure(same(description), any(ErrorMessageFactory.class));