@Test
public void testPreUpdate() {

	CodeSystem codeSystem = CodeSystem.getBuilder(CODESYSTEM_OID,
			CODESYSTEM_CODE, CODESYSTEM_NAME, CODESYSTEM_USERNAME).build();
	codeSystem.prePersist();
	try {
		Thread.sleep(1000);
	} catch (InterruptedException e) {
		// Back to work
	}
	codeSystem.preUpdate();
	Date creationTime = codeSystem.getCreationTime();
	Date modificationTime = codeSystem.getModificationTime();
	assertNotNull(creationTime);
	assertNotNull(modificationTime);
	assertTrue(modificationTime.after(creationTime));
}