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