public void testActionNoneAndTxForCommit() throws Exception
{
TransactionCoordination.getInstance().bindTransaction(mockTransaction);
MuleTransactionConfig config = new MuleTransactionConfig(TransactionConfig.ACTION_NONE);
ExecutionTemplate executionTemplate = createExecutionTemplate(config);
Object result = executionTemplate.execute(getEmptyTransactionCallback());
assertThat((MuleEvent) result, is(RETURN_VALUE));
verify(mockTransaction).commit();
verify(mockTransaction, VerificationModeFactory.times(0)).rollback();
}