assertEquals(list.getParts().get(1).getContent(), "example contents of file2.txt");
assertEquals(list.getParts().get(2).getContentType().getPrimary(), "text");
assertEquals(list.getParts().get(2).getContentType().getSecondary(), "plain");
assertEquals(list.getParts().get(2).getHeader("Content-Disposition"), "form-data; name='pics'; filename='file3.txt'");
assertEquals(list.getParts().get(2).getContent(), "example contents of file3.txt ...");
assertEquals(cursor.ready(), -1);
assertEquals(consumer.getBody().getContent(), NORMAL);
}
public static void main(String[] list) throws Exception {
new PartSeriesConsumerTest().testMixed();