StringExercises { public static Optional<String> mostLowercaseString(List<String> strings) { return Exercises.replaceThisWithSolution(); }  static int countLowercaseLetters(String string); static Optional<String> mostLowercaseString(List<String> strings);  }
@Test public void noStringReturnedForEmptyList() { assertFalse(StringExercises.mostLowercaseString(Collections.<String>emptyList()).isPresent()); }
@Test public void findsMostLowercaseString() { Optional<String> result = StringExercises.mostLowercaseString(Arrays.asList("a", "abc", "ABCde")); assertEquals(result, Optional.of("abc")); }