MadvocSuite.stopTomcat();
}
@Test
public void testMoveWithFiles() {
HttpResponse response;
response = HttpRequest
.post("localhost:8173/mv/upload.html")
.form("uploadFiles[0]", new ByteArrayUploadable(new byte[] {65, 66, 67}, "hello.txt"))
.form("uploadFiles[1]", new byte[] {75, 77, 78})
.form("uploadFileNames[0]", "a1")
.form("uploadFileNames[1]", "a2")
.send();
assertEquals(302, response.statusCode());
String location = response.header("location");
response = HttpRequest.get(location).send();
assertEquals("33hello.txt 33uploadFiles[1] a1 a2 ", response.bodyText());
}