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