@Test public void httpPostAddsFileToRequest() throws IOException, TmcCoreException { settings.setUsername("test"); settings.setPassword("1234"); File testFile = new File("testResources/test.zip"); HttpResult result = urlCommunicator.makePostWithFile( new FileBody(testFile), URI.create(serverAddress + "/kivaurl"), new HashMap<String, String>()); assertEquals("All tests passed", result.getData()); }