@Test
public void testRollbackCurrentTransaction() throws Exception
{
assertThat(tc.getTransaction(), IsNull.<Object>nullValue());
tc.commitCurrentTransaction();
TestTransaction testTransaction = spy(new TestTransaction(muleContext));
tc.bindTransaction(testTransaction);
tc.rollbackCurrentTransaction();
assertThat(tc.getTransaction(),IsNull.<Object>nullValue());
verify(testTransaction, times(1)).rollback();