* @param testEvent the test event
*
* @return the transaction mode
*/
private TransactionMode getTransactionMode(TestEvent testEvent) {
TransactionMode methodLevel = null;
TransactionMode classLevel = null;
final TransactionEnablerLoader transactionEnablerLoader = new TransactionEnablerLoader(serviceLoaderInstance.get());
for (TransactionEnabler enabler : transactionEnablerLoader.getTransactionEnablers()) {
if (methodLevel == null && enabler.isTransactionHandlingDefinedOnMethodLevel(testEvent)) {
methodLevel = enabler.getTransactionModeFromMethodLevel(testEvent);
}