bb.net
Class Emailer.UnitTest

java.lang.Object
  extended by bb.net.Emailer.UnitTest
Enclosing class:
Emailer

public static class Emailer.UnitTest
extends Object

See the Overview page of the project's javadocs for a general description of this unit test class.


Field Summary
private static String addressesGoodAndBad
           
private  Emailer emailer
           
private static File fileProperties
           
private static String imaginaryAddresses
           
private static String malformedAddresses
           
private static String validAddresses
           
 
Constructor Summary
Emailer.UnitTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void test_send_shouldFail()
           
 void test_send_shouldWork()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileProperties

private static final File fileProperties

validAddresses

private static final String validAddresses
See Also:
Constant Field Values

imaginaryAddresses

private static final String imaginaryAddresses
See Also:
Constant Field Values

malformedAddresses

private static final String malformedAddresses
See Also:
Constant Field Values

addressesGoodAndBad

private static final String addressesGoodAndBad
See Also:
Constant Field Values

emailer

private Emailer emailer
Constructor Detail

Emailer.UnitTest

public Emailer.UnitTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

test_send_shouldWork

public void test_send_shouldWork()
                          throws Exception
Throws:
Exception

test_send_shouldFail

public void test_send_shouldFail()
                          throws Exception
Throws:
Exception