### Question:
HotfolderManager { public void retrieveResults(List<OcrOutput> ocrOutputs) throws IOException { for (OcrOutput entry : ocrOutputs) { AbbyyOutput o = (AbbyyOutput) entry; URI remoteUri = o.getRemoteUri(); URI localUri = o.getLocalUri(); hotfolder.download(remoteUri, localUri); 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 shouldDownloadResultOutputs() throws URISyntaxException, IOException { List<OcrOutput> outputsToMove = validOutputs(); managerSut.retrieveResults(outputsToMove); verify(hotfolderMock).download(new URI("http: verify(hotfolderMock).deleteIfExists(new URI("http: verify(hotfolderMock).download(new URI("http: verify(hotfolderMock).deleteIfExists(new URI("http: }