entity.onUpdate();
}
@Test
public void shouldNotLeakUpdatedDate() throws Exception {
TestBaseEntity base = new TestBaseEntity();
base.onUpdate();
Date date = base.getLastUpdated();
date.setTime(100);
Assert.assertNotEquals(date, base.getLastUpdated());
}