### Question:
JCoTransaction extends AbstractTransaction { public void rollback() { errorIfNotInTransaction(); try { executeBapi(new BapiTransactionRollback(), bapiRollback); } finally { notifySynchronizationsAfterCompletion(false); } } JCoTransaction(final SessionImplementor session); void begin(); void commit(); void rollback();  }### Answer:
@Test public void testRollback() { transaction.begin(); transaction.rollback(); verify(sessionMock, times(1)).execute(isA(BapiTransactionRollback.class), eq(bapiRollbackMapping)); }