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

      protected void before() throws Throwable
      Overrides:
      before in class org.junit.rules.ExternalResource
      Throws:
      Throwable
    • after

      protected void after()
      Overrides:
      after in class org.junit.rules.ExternalResource
    • getPort

      public int getPort()
    • getMailServer

      public com.icegreen.greenmail.util.GreenMail getMailServer()