@Override
public void beforeMethodRunning(Object testObject, Method testMethod) {
boolean isEnabledTransaction = TestedObject.isTransactionsEnabled();
TransactionManager transaction = TestedObject.getLocalTransactionManager();
if (isEnabledTransaction && transaction != null) {
transaction.startTransaction();
}
}
@Override
public void afterMethodRunned(Object testObject, Method testMethod, Throwable testThrowable) {