@Test
@DatabaseSetup(value = UPDATE_DATASET)
@ExpectedDatabase(value = EMPTY_DATASET, assertionMode = DatabaseAssertionMode.NON_STRICT)
@DatabaseTearDown(value = EMPTY_DATASET, type = DatabaseOperation.DELETE)
public void testRemove2() throws Exception {
Consumption consumption = new Consumption();
Program program = new Program();
Item item = new Item();
DSP5 dsp5 = new DSP5();
consumption.setId(1L);
consumption.setQuantity(5);
program.setId(1L);
program.setName(PROGRAM_NAME);
program.setVersion(1);
consumption.setProgram(program);
dsp5.setId(1L);
dsp5.setLicenseNumber(DSP5_LICENSE_NUMBER);
dsp5.setVersion(1);
item.setId(1L);
item.setQuantity(5);
item.setDsp5(dsp5);
item.setVersion(1);
consumption.setItem(item);
consumption.setVersion(2);
consumptionDAO.remove(consumption);
}