@Test
public void shouldGiveFalseWhenPatternDoesNotExistInText() throws Exception {

    String text = Files.lines(Paths.get("src", "test", "resources", "book.txt")).collect(joining());
    boolean patternExists = RandomProblem002.patternExistInText(text, "awesome");
    assertFalse(patternExists);
}