org.apache.james.transport.matchers
Class HasMailAttributeWithValueRegexTest

java.lang.Object
  extended by AbstractHasMailAttributeTest
      extended by org.apache.james.transport.matchers.HasMailAttributeWithValueRegexTest

public class HasMailAttributeWithValueRegexTest
extends AbstractHasMailAttributeTest


Constructor Summary
HasMailAttributeWithValueRegexTest()
           
 
Method Summary
protected  org.apache.mailet.base.GenericMatcher createMatcher()
           
protected  java.lang.String getConfigOption()
           
protected  java.lang.String getHasMailAttribute()
           
 void testAttributeIsMatched()
           
 void testHeaderIsNotMatched()
           
 void testHeaderIsNotMatchedCauseValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasMailAttributeWithValueRegexTest

public HasMailAttributeWithValueRegexTest()
Method Detail

getHasMailAttribute

protected java.lang.String getHasMailAttribute()

createMatcher

protected org.apache.mailet.base.GenericMatcher createMatcher()

testAttributeIsMatched

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

testHeaderIsNotMatched

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

testHeaderIsNotMatchedCauseValue

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

getConfigOption

protected java.lang.String getConfigOption()


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