BlockingArtistAnalyzer { public boolean isLargerGroup(String artistName, String otherArtistName) { return getNumberOfMembers(artistName) > getNumberOfMembers(otherArtistName); } BlockingArtistAnalyzer(Function<String, Artist> artistLookupService); boolean isLargerGroup(String artistName, String otherArtistName);  }
@Test public void largerGroupsAreLarger() { assertTrue(analyser.isLargerGroup("The Beatles", "John Coltrane")); }
@Test public void smallerGroupsArentLarger() { assertFalse(analyser.isLargerGroup("John Coltrane", "The Beatles")); }