### Question:
MailSender { public void send(Mail mail) { this.send(Arrays.asList(mail)); } MailSender(); @PostConstruct void postConstructor(); void send(Mail mail); void send(List<Mail> mails); String getHost(); Integer getPort(); String getUser(); String getPassword(); String[] getDefaultToAddress(); String[] getDefaultCCAddress(); String getDefaultFromAddress();  }### Answer:
@Test public void send() { Mail mail = new Mail(); mail.setSubject("Test File...."); mail.setTextBody("Test File Body From Landy...."); mail.setHtmlBody("<span>欣汇峰预估库存汇总表</span>"); mail.addAttachment("TestFile.txt", new File("C:\\03_code\\idea_workspace\\fortune-commons\\commons-core\\src\\test\\resources\\doc\\Test.txt")); mailSender.send(mail); }