HaikuReview { public boolean isHaiku(String input) { if (!hasThreeLines(input)) { return false; } String[] lines = splitHaiku(input); return numberOfSyllables(lines[0]) == 5 && numberOfSyllables(lines[1]) == 7 && numberOfSyllables(lines[2]) == 5; }  boolean isHaiku(String input); static final String INPUT_ONE; static final String INPUT_TWO; }
@Test public void testIsHaiku() throws Exception { String input = HaikuReview.INPUT_ONE; boolean b = haikuReview.isHaiku(input); assertThat(b).isTrue(); }