public void endTransactionAfterTest(@Observes(precedence = 50) After afterTest) {
if (isTransactionEnabled(afterTest)) {
try {
lifecycleEvent.fire(new BeforeTransactionEnded());
TransactionProvider transactionProvider = getTransactionProvider();
TransactionalTest transactionalTest = new TransactionalTestImpl(getTransactionManager(afterTest));
if (rollbackRequired(afterTest)) {