HaikuReview { public static boolean isSyllable(String input) { if (input.length() < 3) { return true; } return false; }  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 testIsSyllable() throws Exception { String[] input = {"a", "e", "i", "o", "u", "y"}; for (String s : input) { boolean isSyllable = HaikuReview.isSyllable(s); assertThat(isSyllable).isTrue(); } }
@Test public void testTwoContinuousVowelsIsOneSyllable() throws Exception { boolean isSyllable = HaikuReview.isSyllable("ae"); assertThat(isSyllable).isTrue(); }
@Test public void testIsNotASyllable() throws Exception { boolean isSyllable = HaikuReview.isSyllable("code"); assertThat(isSyllable).isFalse(); }