@Test
public void testSearch() throws Exception {

  Application example = new Application();
  example.setOrganization("jenkins-ci.org");
  example.setName("jenkins");
  example.setDescription("World leading open source automation system.");
  example.setIcon("/css/img/feather.png");
  spy.register(example);
  List<AppStoreEntry> results = spy.search("name_s:jenkins");
  int expected = 1;
  int actual = results.size();
  assertEquals(expected, actual);
}