### Question:
JCommuneNotifierImpl implements JCommuneNotifier { @Override public void notifyAboutComponentDelete(String jCommuneUrl) throws NoConnectionToJcommuneException, JcommuneRespondedWithErrorException, JcommuneUrlNotConfiguredException { checkUrlIsConfigured(jCommuneUrl); notifyJCommune(jCommuneUrl + WHOLEFORUM_URL_PART, Method.DELETE); } JCommuneNotifierImpl(UserDao userDao); @Override void notifyAboutSectionDelete(String jCommuneUrl, PoulpeSection section); @Override void notifyAboutBranchDelete(String jCommuneUrl, PoulpeBranch branch); @Override void notifyAboutComponentDelete(String jCommuneUrl); @Override void notifyAboutReindexComponent(String jCommuneUrl);  }### Answer:
@Test(expectedExceptions = JcommuneUrlNotConfiguredException.class) public void notifyAboutComponentNoUrl() throws Exception { sut.notifyAboutComponentDelete(""); }
@Test(expectedExceptions = JcommuneUrlNotConfiguredException.class) public void notifyAboutComponentUrlIsNull() throws Exception { sut.notifyAboutComponentDelete(null); }
@Test(expectedExceptions = JcommuneUrlNotConfiguredException.class) public void notifyAboutComponentUrlOnlySpaces() throws Exception { sut.notifyAboutComponentDelete(" "); }