assertNull(descriptor.getMimeVersionParseException());
assertEquals(ExampleMail.CONTENT_ID, descriptor.getContentId());
}
public void testContentDescription() throws Exception {
MaximalBodyDescriptor descriptor = describe(ExampleMail.ONE_PART_MIME_8859_BYTES);
assertEquals(1, descriptor.getMimeMajorVersion());
assertEquals(0, descriptor.getMimeMinorVersion());
assertNull(descriptor.getMimeVersionParseException());
assertEquals(ExampleMail.CONTENT_DESCRIPTION, descriptor.getContentDescription());
}