assertEquals(list.getParts().size(), 1);
assertEquals(list.getParts().get(0).getContentType().getPrimary(), "text");
assertEquals(list.getParts().get(0).getContentType().getSecondary(), "plain");
assertEquals(list.getParts().get(0).getHeader("Content-Disposition"), "form-data; name='pics'; filename='file1.txt'");
assertEquals(list.getParts().get(0).getContent(), "example contents of file1.txt ...");
assertEquals(cursor.ready(), -1);
assertEquals(consumer.getBody().getContent(), SIMPLE);
}
public void testNormal() throws Exception {
PartData list = new PartData();