@Test
public void testRegister() 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> apps = spy.getRecommendedApps();
  assertEquals(1, apps.size());
}