Added more tests.
This commit is contained in:
parent
d592536aca
commit
24a7d5ad56
2 changed files with 6 additions and 7 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue