### Question:
HotfolderManager { public void deleteOutputs(List<OcrOutput> outputs) throws IOException { for (OcrOutput out : outputs) { AbbyyOutput abbyyOut = (AbbyyOutput) out; URI remoteUri = abbyyOut.getRemoteUri(); hotfolder.deleteIfExists(remoteUri); } } HotfolderManager(String serverUrl, String user, String password);   HotfolderManager(Hotfolder initHotfolder); void deleteOutputs(List<OcrOutput> outputs); void deleteImages(List<OcrImage> images); void copyImagesToHotfolder(List<OcrImage> ocrImages); void retrieveResults(List<OcrOutput> ocrOutputs); void createAndSendTicket(AbbyyTicket abbyyTicket, String name); void waitForResults(long timeout, long waitInterval,
			List<OcrOutput> outputs, URI errorResultXmlUri); boolean enoughSpaceAvailable(long maxSpace, URI inputFolder,
		URI outputFolder, URI errorFolder); void deleteTicket(AbbyyTicket abbyyTicket); String readFromErrorFile(URI errorResultUri, String processName);  }### Answer:
@Test public void shouldDeleteRemoteOutputs() throws URISyntaxException, IOException { List<OcrOutput> outputsToDelete = validOutputs(); managerSut.deleteOutputs(outputsToDelete); verify(hotfolderMock, times(2)).deleteIfExists(any(URI.class)); }