org.apache.james.transport.mailets
Class AddSubjectPrefixTest

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

public class AddSubjectPrefixTest
extends junit.framework.TestCase


Constructor Summary
AddSubjectPrefixTest(java.lang.String arg0)
           
 
Method Summary
 void testSubjectPrefixWasAdded()
           
 void testSubjectPrefixWasAddedWithoutSubject()
           
 void testThrowException()
           
 
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

AddSubjectPrefixTest

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

testSubjectPrefixWasAdded

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

testSubjectPrefixWasAddedWithoutSubject

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

testThrowException

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


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.