MimeMessageBuilder { public MimeMessageBuilder documents(DirectDocuments directDocuments) { documents = directDocuments; return this; } MimeMessageBuilder(Session session, Address fromAddress, Address[] recipients); MimeMessageBuilder subject(String str); MimeMessageBuilder text(String str); MimeMessageBuilder documents(DirectDocuments directDocuments); MimeMessageBuilder messageId(String str); MimeMessageBuilder attachment(Document doc); MimeMessageBuilder attachmentName(String str); MimeMessage build();  }
@Test public void testDocuments() { DirectDocuments directDocuments = null; MimeMessageBuilder instance = new MimeMessageBuilder(null, null, null); MimeMessageBuilder result = instance.documents(directDocuments); assertTrue(result instanceof MimeMessageBuilder); }