1
0
mirror of synced 2026-08-03 08:51:58 +00:00

Removed printStackTrace from expected exception.

This commit is contained in:
Luke Taylor
2005-12-22 01:15:25 +00:00
parent 09cef7adc2
commit c378779610
@@ -32,6 +32,7 @@ import org.acegisecurity.MockApplicationContext;
* The HttpSessionEventPublisher tests
*
* @author Ray Krueger
* @version $Id$
*/
public class HttpSessionEventPublisherTests extends TestCase {
//~ Methods ================================================================
@@ -90,7 +91,7 @@ public class HttpSessionEventPublisherTests extends TestCase {
pub.getContext();
fail("IllegalArgumentException expected, the context is null");
} catch (IllegalArgumentException e) {
e.printStackTrace();
assertTrue(true);
}
}
}