### Question:
JCommuneNotifierImpl implements JCommuneNotifier { @Override public void notifyAboutSectionDelete(String jCommuneUrl, PoulpeSection section) throws NoConnectionToJcommuneException, JcommuneRespondedWithErrorException, JcommuneUrlNotConfiguredException { checkUrlIsConfigured(jCommuneUrl); notifyJCommune(jCommuneUrl + SECTIONS_URL_PART + section.getId(), 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 notifyAboutSectionNoUrl() throws Exception { sut.notifyAboutSectionDelete("", null); }
@Test(expectedExceptions = JcommuneUrlNotConfiguredException.class) public void notifyAboutSectionUrlIsNull() throws Exception { sut.notifyAboutSectionDelete(null, null); }
@Test(expectedExceptions = JcommuneUrlNotConfiguredException.class) public void notifyAboutSectionUrlOnlySpaces() throws Exception { sut.notifyAboutSectionDelete(" ", null); }