@Test public void clearByDocRef() throws Exception { DocumentReference docRef = new DocumentReference("a","b","c"); when(entityReferenceSerializer.serialize(docRef)).thenReturn("a:b.c"); mocker.getComponentUnderTest().clear(docRef); verify(cache).remove("DOC:a:b.c"); }
@Override public void clear() { cache.removeAll(); }
DefaultIconSetCache implements IconSetCache, Initializable { @Override public void clear() { cache.removeAll(); } }
DefaultIconSetCache implements IconSetCache, Initializable { @Override public void clear() { cache.removeAll(); }  }
DefaultIconSetCache implements IconSetCache, Initializable { @Override public void clear() { cache.removeAll(); }  @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 void clear() { cache.removeAll(); }  @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);  }