@Test
public void testSearch() throws Exception {

  String keyword = "jenkins";
  AppStoreController ac = Mockito.mock(AppStoreController.class);
  List<AppStoreEntry> expected = new ArrayList<AppStoreEntry>();
  when(ac.search(keyword)).thenReturn(expected);
  final List<AppStoreEntry> actual = ac.search(keyword);
  assertEquals(expected, actual);
}