@Test
public void testSomeErrorConditions() {
try {
ValidateEmailAddress action =
new ValidateEmailAddress(null);
dispatch.execute(null, action);
fail("This should have thrown an exception");
}
catch(Exception ex) {
//this is expected
}
try {
ValidateEmailAddress action =
new ValidateEmailAddress("adsfasf@asdfa@asdfa.com");
dispatch.execute(null, action);
fail("This should have thrown an exception");
}
catch(Exception ex) {