org.apache.james.transport.matchers
Class RecipientIsTest

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

public class RecipientIsTest
extends junit.framework.TestCase


Constructor Summary
RecipientIsTest(java.lang.String arg0)
           
 
Method Summary
 void testHostIsMatchedAllRecipients()
           
 void testHostIsMatchedOneRecipient()
           
 void testHostIsNotMatch()
           
 
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

RecipientIsTest

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

testHostIsMatchedAllRecipients

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

testHostIsMatchedOneRecipient

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

testHostIsNotMatch

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


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