@Test public void findsLongestNameByReduce() { Artist artist = LongestName.byReduce(SampleData.getThreeArtists()); assertEquals(SampleData.johnColtrane, artist); }
public static Artist byReduce(List<Artist> artists) { return Exercises.replaceThisWithSolution(); }
LongestName { public static Artist byReduce(List<Artist> artists) { return Exercises.replaceThisWithSolution(); } }
LongestName { public static Artist byReduce(List<Artist> artists) { return Exercises.replaceThisWithSolution(); }  }
LongestName { public static Artist byReduce(List<Artist> artists) { return Exercises.replaceThisWithSolution(); }  static Artist byReduce(List<Artist> artists); static Artist byCollecting(List<Artist> artists); }
LongestName { public static Artist byReduce(List<Artist> artists) { return Exercises.replaceThisWithSolution(); }  static Artist byReduce(List<Artist> artists); static Artist byCollecting(List<Artist> artists);  }