public class


extends TestWatcher
   ↳ org.junit.rules.TestWatcher
     ↳ com.atlassian.jira.functest.rule.OutgoingMailEventQueueRule

Class Overview

Rule to initialize SMTPBackdoor for listening for emails. Outgoing mail listening queue is turned on and cleared when test is started and listening queue is turned of on test end. Tested methods should be annotated with MailTest


Public Methods
OutgoingMailControl getOutgoingMailControl()
Protected Methods
void finished(Description description)
void starting(Description description)
Inherited Methods
From class org.junit.rules.TestWatcher
From class java.lang.Object
From interface org.junit.rules.TestRule

Public Methods

public OutgoingMailControl getOutgoingMailControl ()

Protected Methods

protected void finished (Description description)

protected void starting (Description description)