org.apache.james.transport.matchers
Class HasMailAttributeWithValueRegexTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.transport.matchers.HasMailAttributeWithValueRegexTest
All Implemented Interfaces:
junit.framework.Test

public class HasMailAttributeWithValueRegexTest
extends junit.framework.TestCase


Constructor Summary
HasMailAttributeWithValueRegexTest(java.lang.String arg0)
           
 
Method Summary
 void testAttributeIsMatched()
           
 void testHeaderIsNotMatched()
           
 void testHeaderIsNotMatchedCauseValue()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HasMailAttributeWithValueRegexTest

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

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


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