### Question:
JackrabbitHotfolder extends ServerHotfolder implements
		Hotfolder, Serializable { @Override public void delete(URI uri) throws IOException { DeleteMethod delMethod = new DeleteMethod(uri.toString()); try { execute(delMethod); } finally { delMethod.releaseConnection(); } }  void configureConnection(String serverUrl, String username, String password); @Override void upload(URI fromLocal, URI toRemote); @Override void download(URI fromRemote, URI toLocal); @Override void delete(URI uri); @Override boolean exists(URI uri); @Override long getUsedSpace(URI uri); @Override byte[] getResponse(URI uri);  }### Answer:
@Test public void shouldDelete() throws IOException, URISyntaxException { jackrabbitSut.delete(new URI("http: verify(httpClientMock).executeMethod(any(DeleteMethod.class)); }