RFC2557ContentLocationDescriptor descriptor = describe(ExampleMail.MULTIPART_WITH_CONTENT_LOCATION_BYTES, 3);
assertEquals("http://www.example.org/absolute/comments/rhubard.txt", descriptor.getContentLocation());
}
public void testContentLocationFoldedUrl() throws Exception {
RFC2557ContentLocationDescriptor descriptor = describe(ExampleMail.MULTIPART_WITH_CONTENT_LOCATION_BYTES, 4);
assertEquals("http://www.example.org/this/is/a/very/long/url/split/over/two/lines/", descriptor.getContentLocation());
}