Пример #1
0
 @Test
 public void doesNotContainWithEmptySubstringDoesNotThrowException() throws Exception {
   Assert.doesNotContain("A cool chick's name is Brod. ", "");
 }
Пример #2
0
 @Test
 public void doesNotContainWithNullSearchStringDoesNotThrowException() throws Exception {
   Assert.doesNotContain(null, "rod");
 }