@Test public void deleteWiki() throws Exception { this.mocker.getComponentUnderTest().delete("wikiid"); verify(wikiDeleter).delete("wikiid"); verify(observationManager).notify(eq(new WikiDeletedEvent("wikiid")), eq("wikiid")); }
@Override public void delete(String wikiId) throws WikiManagerException { wikiDeleter.delete(wikiId); observationManager.notify(new WikiDeletedEvent(wikiId), wikiId); }
DefaultWikiManager implements WikiManager { @Override public void delete(String wikiId) throws WikiManagerException { wikiDeleter.delete(wikiId); observationManager.notify(new WikiDeletedEvent(wikiId), wikiId); } }
DefaultWikiManager implements WikiManager { @Override public void delete(String wikiId) throws WikiManagerException { wikiDeleter.delete(wikiId); observationManager.notify(new WikiDeletedEvent(wikiId), wikiId); }  }
DefaultWikiManager implements WikiManager { @Override public void delete(String wikiId) throws WikiManagerException { wikiDeleter.delete(wikiId); observationManager.notify(new WikiDeletedEvent(wikiId), wikiId); }  @Override WikiDescriptor create(String wikiId, String wikiAlias, boolean failOnExist); @Override WikiDescriptor create(String wikiId, String wikiAlias, String ownerId, boolean failOnExist); @Override WikiDescriptor copy(String fromWikiId, String newWikiId, String newWikiAlias, boolean copyHistory,
        boolean copyRecycleBin, boolean failOnExist); @Override WikiDescriptor rename(String wikiId, String newWikiId); @Override void delete(String wikiId); @Override boolean idAvailable(String wikiId); }
DefaultWikiManager implements WikiManager { @Override public void delete(String wikiId) throws WikiManagerException { wikiDeleter.delete(wikiId); observationManager.notify(new WikiDeletedEvent(wikiId), wikiId); }  @Override WikiDescriptor create(String wikiId, String wikiAlias, boolean failOnExist); @Override WikiDescriptor create(String wikiId, String wikiAlias, String ownerId, boolean failOnExist); @Override WikiDescriptor copy(String fromWikiId, String newWikiId, String newWikiAlias, boolean copyHistory,
        boolean copyRecycleBin, boolean failOnExist); @Override WikiDescriptor rename(String wikiId, String newWikiId); @Override void delete(String wikiId); @Override boolean idAvailable(String wikiId);  }