public void testSendEventTxRolledBack() throws Exception {
ConnectionEvent event = new ConnectionEvent(mc, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
ConnectionEventListener listener = EasyMock.createMock(ConnectionEventListener.class);
mc.addConnectionEventListener(listener);
EasyMock.reset(listener);
listener.localTransactionRolledback(EasyMock.isA(ConnectionEvent.class));
EasyMock.expectLastCall();
EasyMock.replay(listener);
mc.sendEvent(event);
}
}