org.apache.james.transport.matchers
Class SMTPAuthUserIsTest

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

public class SMTPAuthUserIsTest
extends AbstractHasMailAttributeTest


Field Summary
 
Fields inherited from class org.apache.james.transport.matchers.AbstractHasMailAttributeTest
MAIL_ATTRIBUTE_NAME, MAIL_ATTRIBUTE_VALUE, mailAttributeName, mailAttributeValue, matcher, mockedMail, mockedMimeMessage
 
Constructor Summary
SMTPAuthUserIsTest()
           
 
Method Summary
protected  GenericMatcher createMatcher()
           
protected  java.lang.String getConfigOption()
           
protected  java.lang.String getHasMailAttribute()
           
protected  void init()
           
 void testAttributeIsNotMatched()
           
 
Methods inherited from class org.apache.james.transport.matchers.AbstractHasMailAttributeTest
setMailAttributeName, setMailAttributeValue, setupAll, setupMatcher, setupMockedMail, testAttributeIsMatched
 
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

SMTPAuthUserIsTest

public SMTPAuthUserIsTest()
Method Detail

getHasMailAttribute

protected java.lang.String getHasMailAttribute()
Specified by:
getHasMailAttribute in class AbstractHasMailAttributeTest

createMatcher

protected GenericMatcher createMatcher()
Specified by:
createMatcher in class AbstractHasMailAttributeTest

getConfigOption

protected java.lang.String getConfigOption()
Specified by:
getConfigOption in class AbstractHasMailAttributeTest

init

protected void init()
Overrides:
init in class AbstractHasMailAttributeTest

testAttributeIsNotMatched

public void testAttributeIsNotMatched()
                               throws javax.mail.MessagingException
Overrides:
testAttributeIsNotMatched in class AbstractHasMailAttributeTest
Throws:
javax.mail.MessagingException


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