assertEquals(entityWithNulls.getProperties().keySet(), entityWithoutNulls.getProperties().keySet());
}
public void testVersionInserts() throws EntityNotFoundException {
HasVersionNoFieldJDO hv = new HasVersionNoFieldJDO();
makePersistentInTxn(hv, TXN_START_END);
Entity entity = ds.get(
KeyFactory.createKey(HasVersionNoFieldJDO.class.getSimpleName(), hv.getId()));
assertNotNull(entity);
assertEquals(1L, entity.getProperty("myversioncolumn"));
HasVersionWithFieldJDO hvwf = new HasVersionWithFieldJDO();
beginTxn();