### Question:
JcommuneHttpNotifier implements JCommuneNotifier { public void notifyAboutSectionDelete(String jCommuneUrl, PoulpeSection section) throws NoConnectionToJcommuneException, JcommuneRespondedWithErrorException, JcommuneUrlNotConfiguredException { long id = section.getId(); notifyAboutDeleteElement(jCommuneUrl + SECTIONS_URL_PART + id); } 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 public void testNotifyAboutSectionDelete() throws Exception { doReturn(validResponse()).when(sut).doSendRequest(any(HttpUriRequest.class)); sut.notifyAboutSectionDelete("url", new PoulpeSection()); verify(sut).doSendRequest(argThat(eqRequest("url/sections/0?password=password", "DELETE"))); }