Assert.assertEquals(2L, cde.getProperty("type"));
Assert.assertEquals("ChildDateInt", cde.getProperty("parentStr"));
Assert.assertEquals(now, ((Date)cde.getProperty("date")).getTime());
Assert.assertEquals(3, cde.getProperties().size());
ChildBoolIntDiscriminator cb = new ChildBoolIntDiscriminator();
cb.setParentStr("ChildBoolInt");
cb.setValue(Boolean.TRUE);
makePersistent(cb, startEnd);
String cbId = cb.getId();
Key cbKey = KeyFactory.stringToKey(cbId);
Entity cbe = ds.get(cbKey);
Assert.assertEquals(cbKey, cbe.getKey());
Assert.assertEquals(3L, cbe.getProperty("type"));