public void testFetchNullDataWithDefaultValues() {
Entity e = new Entity(NullDataWithDefaultValuesJDO.class.getSimpleName());
ds.put(e);
beginTxn();
NullDataWithDefaultValuesJDO pojo =
pm.getObjectById(NullDataWithDefaultValuesJDO.class, KeyFactory.keyToString(e.getKey()));
assertNotNull(pojo.getArray());
assertEquals(0, pojo.getArray().length);
assertNotNull(pojo.getList());
assertTrue(pojo.getList().isEmpty());
assertNull(pojo.getString());
commitTxn();
}