nl.surfnet.coin.shared.service.impl
Class MockMailService
java.lang.Object
nl.surfnet.coin.shared.service.impl.MockMailService
- All Implemented Interfaces:
- MailService
public class MockMailService
- extends Object
- implements MailService
Mock implementation for MailService
|
Method Summary |
void |
sendAsync(org.springframework.mail.javamail.MimeMessagePreparator preparator)
Logs the mail message |
void |
sendAsync(org.springframework.mail.SimpleMailMessage msg)
Logs the mail message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockMailService
public MockMailService()
sendAsync
public void sendAsync(org.springframework.mail.javamail.MimeMessagePreparator preparator)
throws org.springframework.mail.MailException
- Logs the mail message
- Specified by:
sendAsync in interface MailService
- Throws:
org.springframework.mail.MailException
sendAsync
public void sendAsync(org.springframework.mail.SimpleMailMessage msg)
throws org.springframework.mail.MailException
- Logs the mail message
- Specified by:
sendAsync in interface MailService
- Throws:
org.springframework.mail.MailException
Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.