req.init();
Uploading up = UploadUnit.TYPE.born();
Map<String, Object> map = up.parse(req, UploadingContext.create(tmps));
assertEquals(4, map.size());
TempFile txt2 = (TempFile) map.get("abc");
TempFile red2 = (TempFile) map.get("red");
TempFile blue2 = (TempFile) map.get("blue");
TempFile green2 = (TempFile) map.get("green");
assertEquals("abc.zdoc", txt2.getMeta().getFileLocalName());
assertTrue(Files.equals(txt, txt2.getFile()));
assertEquals("red.png", red2.getMeta().getFileLocalName());
assertTrue(Files.equals(red, red2.getFile()));
assertEquals("blue.png", blue2.getMeta().getFileLocalName());
assertTrue(Files.equals(blue, blue2.getFile()));
assertEquals("green.png", green2.getMeta().getFileLocalName());
assertTrue(Files.equals(green, green2.getFile()));
}