public class MailSenderIT extends Object
MailSender works as expected.| Constructor and Description |
|---|
MailSenderIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
canSendMails()
The cut can send mails.
|
void |
stopFailMailServer()
Shuts the test mail server down.
|
void |
throwsAnExceptionWhenSendingAMailFailed()
The cut throws an exception when sending a mail failed.
|
public void stopFailMailServer()
public void canSendMails()
throws de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException,
ParseException
de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException - not expected to leave the test.ParseException - When the date of the mail could not be parsed.public void throwsAnExceptionWhenSendingAMailFailed()
throws de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException
de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException - The expected failure.Copyright © 2016. All rights reserved.