@Test
public void testOnRollback() {

    ComponentTxData txData = new ComponentTxData(OnRollbackPojo.class);
    List<Class> rollbackOnBatchUpdateException = getEffectiveType(txData, "throwBatchUpdateException").getRollbackOn();
    assertFalse(rollbackOnBatchUpdateException.contains(SQLDataException.class));
    assertTrue(rollbackOnBatchUpdateException.contains(BatchUpdateException.class));
    List<Class> rollbackOnSQLDataException = getEffectiveType(txData, "throwSQLDataException").getRollbackOn();
    assertTrue(rollbackOnSQLDataException.contains(SQLDataException.class));
    assertFalse(rollbackOnSQLDataException.contains(BatchUpdateException.class));
}