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