org.apache.james.transport.matchers
Class SenderIsRegexTest

java.lang.Object
  extended by AbstractSenderIsTest
      extended by org.apache.james.transport.matchers.SenderIsRegexTest

public class SenderIsRegexTest
extends AbstractSenderIsTest


Constructor Summary
SenderIsRegexTest(java.lang.String arg0)
           
 
Method Summary
protected  org.apache.mailet.Matcher createMatcher()
           
protected  java.lang.String getConfigOption()
           
protected  java.lang.String getConfigValue()
           
 void testSenderIsRegexMatchedAllRecipients()
           
 void testSenderIsRegexNotMatchedAllRecipients()
           
 void testThrowExceptionWithInvalidPattern()
           
 void testThrowExceptionWithoutPattern()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenderIsRegexTest

public SenderIsRegexTest(java.lang.String arg0)
                  throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException
Method Detail

testSenderIsRegexMatchedAllRecipients

public void testSenderIsRegexMatchedAllRecipients()
                                           throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

testSenderIsRegexNotMatchedAllRecipients

public void testSenderIsRegexNotMatchedAllRecipients()
                                              throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

testThrowExceptionWithoutPattern

public void testThrowExceptionWithoutPattern()
                                      throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

testThrowExceptionWithInvalidPattern

public void testThrowExceptionWithInvalidPattern()
                                          throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

createMatcher

protected org.apache.mailet.Matcher createMatcher()

getConfigOption

protected java.lang.String getConfigOption()

getConfigValue

protected java.lang.String getConfigValue()


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.