public void testDispatch() {
log.setMethod("testDispatch()");
NamingExceptionEvent event;
event = new NamingExceptionEvent(ctx, ex);
event.dispatch(new TestListener(event));
}
class TestListener implements NamingListener {
protected NamingExceptionEvent expectedEvent;