assertTrue(pe.getCause() instanceof NoPersistenceInformationException);
}
}
public void testAttributeOverride() throws EntityNotFoundException {
MappedSuperclassChild child = new MappedSuperclassChild();
child.setOverriddenString("overridden");
beginTxn();
em.persist(child);
commitTxn();
Entity e = ds.get(KeyFactory.createKey(kindForClass(child.getClass()), child.getId()));
assertEquals("overridden", e.getProperty("overridden_string"));
assertFalse(e.hasProperty("overriddenString"));
}