public class MailNotifierTest extends Object
MailNotifier works as expected.| Constructor and Description |
|---|
MailNotifierTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
errorIsSendToTheAdministratorWhenSendingEmailsFailed()
When sending an email fails the administrator is notified.
|
void |
setUpCut()
Initializes the cut.
|
void |
traderEventsAreSendToConfiguredMailAddress()
Trade events are send to the configured E-Mail address.
|
void |
unexpectedTradeEventsAreSendToConfiguredMailAddress()
Unexpected trade events are send to the configured mail address.
|
public void setUpCut()
public void traderEventsAreSendToConfiguredMailAddress()
throws de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException
de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException - Not expected in the test.public void unexpectedTradeEventsAreSendToConfiguredMailAddress()
throws de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException
de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException - Not expected in the test.public void errorIsSendToTheAdministratorWhenSendingEmailsFailed()
throws de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException
de.voidnode.trading4j.server.reporting.implementations.MailSender.MailSendingException - Not expected to leve the testCopyright © 2016. All rights reserved.