### Question:
SpitterMailServiceImpl implements SpitterMailService { public void sendRichEmail(String to, Spittle spittle) throws MessagingException { MimeMessage message = mailSender.createMimeMessage(); MimeMessageHelper helper = new MimeMessageHelper(message, true); String spitterName = spittle.getSpitter().getFullName(); helper.setFrom("noreply@spitter.com"); helper.setTo(to); helper.setSubject("New spittle from " + spitterName); helper.setText("<html><body><img src='cid:spitterLogo'>" + "<h4>"+spitterName+" says:</h4>" + "<i>"+spittle.getText()+"</i>" + "</body></html>", true); ClassPathResource couponImage = new ClassPathResource("/collateral/coupon.jpg"); helper.addInline("spitterLogo", couponImage); mailSender.send(message); } @Autowired  SpitterMailServiceImpl(JavaMailSender mailSender); @Override void sendSimpleSpittleEmail(String to, Spittle spittle); @Override void sendSpittleEmailWithAttachment(String to, Spittle spittle); void sendRichEmail(String to, Spittle spittle); void sendRichEmailWithVelocity(String to, Spittle spittle); void sendRichEmailWithThymeleaf(String to, Spittle spittle);  }### Answer:
@Test public void sendRichEmail() throws Exception { mailService.sendRichEmail(toEmail, spittle()); receiveTest(); }