public class DnsMailCreatorLargeOriginalTest {
@Test
public void testLongMail() throws Exception {
DsnMailCreator dsnMailCreator =
DsnMailCreatorTest.createDsnMailCreator();
Mail mail = ExampleMail.veryLong();
List<RecipientProblemReport> recipientStatuses =
DsnMailCreatorTest.createRecipientFailure();
Mail dsnMail = dsnMailCreator.create(mail, recipientStatuses);
File file =
new File(System.getProperty("java.io.tmpdir"), getClass()
.getSimpleName() + ".eml");
FileOutputStream fout = new FileOutputStream(file);