HaikuReview { public static String processHaiku(String haiku) { if (!isValidHaikuLineLength(haiku)) { throw new IllegalArgumentException(); } return null; }  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(expected = IllegalArgumentException.class) public void testInvalidNumberOfLinesForHaiku() throws Exception { String invalidHaiku = "fail/haiku"; HaikuReview.processHaiku(invalidHaiku); }