@Test public void getByNameAndWiki() throws Exception { IconSet iconSet = new IconSet("key"); when(cache.get("NAMED:6wikiId_key")).thenReturn(iconSet); IconSet result = mocker.getComponentUnderTest().get("key", "wikiId"); assertTrue(iconSet == result); }
@Override public IconSet get(String name) { return cache.get(getKeyFromName(name)); }
DefaultIconSetCache implements IconSetCache, Initializable { @Override public IconSet get(String name) { return cache.get(getKeyFromName(name)); } }
DefaultIconSetCache implements IconSetCache, Initializable { @Override public IconSet get(String name) { return cache.get(getKeyFromName(name)); }  }
DefaultIconSetCache implements IconSetCache, Initializable { @Override public IconSet get(String name) { return cache.get(getKeyFromName(name)); }  @Override void initialize(); @Override IconSet get(String name); @Override IconSet get(String name, String wikiId); @Override IconSet get(DocumentReference documentReference); @Override void put(String name, IconSet iconSet); @Override void put(String name, String wikiId, IconSet iconSet); @Override void put(DocumentReference documentReference, IconSet iconSet); @Override void clear(); @Override void clear(DocumentReference documentReference); @Override void clear(String name); @Override void clear(String name, String wikiId); }
DefaultIconSetCache implements IconSetCache, Initializable { @Override public IconSet get(String name) { return cache.get(getKeyFromName(name)); }  @Override void initialize(); @Override IconSet get(String name); @Override IconSet get(String name, String wikiId); @Override IconSet get(DocumentReference documentReference); @Override void put(String name, IconSet iconSet); @Override void put(String name, String wikiId, IconSet iconSet); @Override void put(DocumentReference documentReference, IconSet iconSet); @Override void clear(); @Override void clear(DocumentReference documentReference); @Override void clear(String name); @Override void clear(String name, String wikiId);  }