@Test
public void shouldRollbackIfTransactionIsMarkedForRollback() {

	EntityTransaction txn = mockTransaction(context, true);
	when(txn.getRollbackOnly()).thenReturn(true);
	context.closeTxn(true);
	verify(txn).rollback();
}