Class MailServerSMTPRule
java.lang.Object
org.junit.rules.ExternalResource
com.atlassian.crowd.acceptance.utils.MailServerSMTPRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class MailServerSMTPRule
extends org.junit.rules.ExternalResource
-
Constructor Details
-
MailServerSMTPRule
public MailServerSMTPRule() -
MailServerSMTPRule
public MailServerSMTPRule(int port)
-
-
Method Details
-
before
- Overrides:
before
in classorg.junit.rules.ExternalResource
- Throws:
Throwable
-
after
protected void after()- Overrides:
after
in classorg.junit.rules.ExternalResource
-
getPort
public int getPort() -
getMailServer
public com.icegreen.greenmail.util.GreenMail getMailServer()
-