public void testNonDefaultStorageVersion() {
   em.close();
   emf.close();
   Map<String, String> props = Utils.newHashMap();
   props.put(
       StorageVersion.STORAGE_VERSION_PROPERTY,
       StorageVersion.PARENTS_DO_NOT_REFER_TO_CHILDREN.name());
   emf = Persistence.createEntityManagerFactory(getEntityManagerFactoryName().name(), props);
   em = emf.createEntityManager();
   DatastoreManager storeMgr = (DatastoreManager) getExecutionContext().getStoreManager();
   assertEquals(StorageVersion.PARENTS_DO_NOT_REFER_TO_CHILDREN, storeMgr.getStorageVersion());
 }
 public void testDefaultStorageVersion() {
   DatastoreManager storeMgr = (DatastoreManager) getExecutionContext().getStoreManager();
   assertEquals(StorageVersion.READ_OWNED_CHILD_KEYS_FROM_PARENTS, storeMgr.getStorageVersion());
 }