use of org.kie.kogito.uow.events.UnitOfWorkAbortEvent in project kogito-runtimes by kiegroup.
the class AbstractTransactionManagerTest method onAfterAbortEvent.
@Test
void onAfterAbortEvent() {
manager.onBeforeStartEvent(new UnitOfWorkStartEvent(null));
manager.onAfterAbortEvent(new UnitOfWorkAbortEvent(null));
verify(clientSession, times(1)).abortTransaction();
verify(clientSession, times(1)).close();
}
Aggregations