### Question:
JcommuneHttpNotifier implements JCommuneNotifier { protected void checkUrlIsConfigured(String jCommuneUrl) throws JcommuneUrlNotConfiguredException { if (StringUtils.isBlank(jCommuneUrl)) { throw new JcommuneUrlNotConfiguredException(); } } JcommuneHttpNotifier(UserDao userDao); void notifyAboutSectionDelete(String jCommuneUrl, PoulpeSection section); void notifyAboutBranchDelete(String jCommuneUrl, PoulpeBranch branch); void notifyAboutComponentDelete(String jCommuneUrl); void notifyAboutReindexComponent(String jCommuneUrl);  }### Answer:
@Test(expectedExceptions = JcommuneUrlNotConfiguredException.class) public void emptyUrlShouldMeanNotConfigured() throws JcommuneUrlNotConfiguredException { sut.checkUrlIsConfigured(""); }
@Test(expectedExceptions = JcommuneUrlNotConfiguredException.class) public void nullUrlShouldMeanNotConfigured() throws JcommuneUrlNotConfiguredException { sut.checkUrlIsConfigured(null); }