HaikuReview { public static int getNumberOfLines(String input) { return input.split(HAIKU_LINE_SEPARATOR).length; }  static String processHaiku(String haiku); static int getNumberOfLines(String input); static int getNumberOfSyllables(String input); static boolean isSyllable(String input); static boolean isVowel(String s);  }
@Test public void testNumberOfLinesThreeGivenValidInput() throws Exception { String input = "happy purple frog/eating bugs in the marshes/get indigestion"; int numberOfLines = HaikuReview.getNumberOfLines(input); assertThat(numberOfLines).isEqualTo(3); }