@Test
	public void testRemovingUpdatedItems() {
		UnitOfWork<UnitItem> unit = new UnitOfWork<>();
		UnitItem item = new UnitItem();
		item.setValue("Foo");
		item.setId(345);
		
		unit.update(item);
		Assert.assertTrue(unit.getUpdatedRecords().contains(item));
		Assert.assertEquals(0, unit.getInsertNum());
		Assert.assertEquals(1, unit.getUpdateNum());
		Assert.assertEquals(0, unit.getRemoveNum());
		unit.remove(item);
		Assert.assertFalse(unit.getUpdatedRecords().contains(item));
		Assert.assertTrue(unit.getRemovedRecords().contains(item));
		Assert.assertEquals(0, unit.getInsertNum());
		Assert.assertEquals(0, unit.getUpdateNum());
		Assert.assertEquals(1, unit.getRemoveNum());
	}