assertEquals(new DateTime("2008", 6, 22, 12, 8, 56, 0), descriptor.getContentDispositionReadDate());
assertEquals(10234, descriptor.getContentDispositionSize());
}
public void testLanguageParameters() throws Exception {
RFC3066ContentLanguageDescriptor descriptor = describe(ExampleMail.MULTIPART_WITH_BINARY_ATTACHMENTS_BYTES, 3);
assertNotNull(descriptor.getContentLanguage());
assertEquals(3, descriptor.getContentLanguage().size());
assertEquals("en", descriptor.getContentLanguage().get(0));
assertEquals("en-US", descriptor.getContentLanguage().get(1));
assertEquals("en-CA", descriptor.getContentLanguage().get(2));
}