Added more tests.

This commit is contained in:
Erik C. Thauvin 2019-04-08 01:42:17 -07:00
parent d592536aca
commit 24a7d5ad56
2 changed files with 6 additions and 7 deletions

View file

@ -50,6 +50,7 @@ public class JokeTest {
@Test
public void testRamdomJoke() throws ModuleException {
assertThat(Joke.randomJoke().getMessage().length() > 0).as("randomJoke()").isTrue();
assertThat(Joke.randomJoke().getMessage().length() > 0).as("randomJoke() > 0").isTrue();
assertThat(Joke.randomJoke().getMessage()).as("randomJoke()").contains("Chuck");
}
}