### Question:
JingleService { public Iterable<Artist> searchArtist(String name) { throw new UnsupportedOperationException(); } JingleService(LastfmWebApi api);  JingleService(); Iterable<Artist> searchArtist(String name);  }### Answer:
@Test public void searchHiperAndCountAllResults() { HttpGet httpGet = new HttpGet(); JingleService service = new JingleService(new LastfmWebApi(new BaseRequest(httpGet))); Iterable<Artist> artists = service.searchArtist("hiper"); assertEquals(0, httpGet.count); assertEquals(700, count(artists)); assertEquals(25, httpGet.count); Artist last = last(artists); assertEquals("Coma - Hipertrofia.(2008)", last.getName()); assertEquals(50, httpGet.count); }