@Test public void testGetItem() { client.getItem("1", ItemManager.MODE_DEFAULT, itemListener); verify(hackerNewsClient).getItem(eq("1"), eq(ItemManager.MODE_DEFAULT), eq(itemListener)); }
@Override public void getItem(String itemId, @CacheMode int cacheMode, ResponseListener<Item> listener) { mHackerNewsClient.getItem(itemId, cacheMode, listener); }
AlgoliaClient implements ItemManager { @Override public void getItem(String itemId, @CacheMode int cacheMode, ResponseListener<Item> listener) { mHackerNewsClient.getItem(itemId, cacheMode, listener); } }
AlgoliaClient implements ItemManager { @Override public void getItem(String itemId, @CacheMode int cacheMode, ResponseListener<Item> listener) { mHackerNewsClient.getItem(itemId, cacheMode, listener); } @Inject  AlgoliaClient(RestServiceFactory factory); }
AlgoliaClient implements ItemManager { @Override public void getItem(String itemId, @CacheMode int cacheMode, ResponseListener<Item> listener) { mHackerNewsClient.getItem(itemId, cacheMode, listener); } @Inject  AlgoliaClient(RestServiceFactory factory); @Override void getStories(String filter, @CacheMode int cacheMode,
                           final ResponseListener<Item[]> listener); @Override void getItem(String itemId, @CacheMode int cacheMode, ResponseListener<Item> listener); @Override Item[] getStories(String filter, @CacheMode int cacheMode); @Override Item getItem(String itemId, @CacheMode int cacheMode); }
AlgoliaClient implements ItemManager { @Override public void getItem(String itemId, @CacheMode int cacheMode, ResponseListener<Item> listener) { mHackerNewsClient.getItem(itemId, cacheMode, listener); } @Inject  AlgoliaClient(RestServiceFactory factory); @Override void getStories(String filter, @CacheMode int cacheMode,
                           final ResponseListener<Item[]> listener); @Override void getItem(String itemId, @CacheMode int cacheMode, ResponseListener<Item> listener); @Override Item[] getStories(String filter, @CacheMode int cacheMode); @Override Item getItem(String itemId, @CacheMode int cacheMode); static boolean sSortByTime; static final String HOST; }