### Question:
HotfolderManager { public void copyImagesToHotfolder(List<OcrImage> ocrImages) throws IOException { for (OcrImage ocrImage : ocrImages) { AbbyyImage image = (AbbyyImage) ocrImage; URI fromUri = image.getLocalUri(); URI toUri = image.getRemoteUri(); hotfolder.upload(fromUri, toUri); } } 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 shouldUploadImages() throws URISyntaxException, IOException { List<OcrImage> imagesToCopy = validImages(); managerSut.copyImagesToHotfolder(imagesToCopy); verify(hotfolderMock).upload(new URI("file:/01.tif"), new URI("http: verify(hotfolderMock).upload(new URI("file:/02.tif"), new URI("http: }