Assert.assertEquals(21L, c21.getChild21Long());
Assert.assertNull(c21.getParentStr());
startEnd.end();
// create Child22
Child22 c22 = newChild22(startEnd, "ParentChild22", "Child22", Boolean.TRUE, new Embedded2("Embedded2Child22", -7d));
Long c22Id = c22.getId();
Key c22Key = KeyFactory.createKey(PARENT_KIND, c22Id);
// verify Child22 entity
Entity c22e = ds.get(c22Key);
Assert.assertEquals(c22Key, c22e.getKey());
Assert.assertEquals("C22", c22e.getProperty("DTYPE"));
Assert.assertEquals("ParentChild22", c22e.getProperty("parentStr"));
Assert.assertEquals("Child22", c22e.getProperty("child22Str"));
Assert.assertEquals(0L, c22e.getProperty("child21Long"));
Assert.assertEquals(Boolean.TRUE, c22e.getProperty("value_0"));
Assert.assertEquals(new Text("Embedded2Child22"), c22e.getProperty("str"));
Assert.assertEquals(-7d, c22e.getProperty("dbl"));
Assert.assertEquals(7, c22e.getProperties().size());
// verify Child22 object
startEnd.start();
c22 = em.find(Child22.class, c22Id);
Assert.assertEquals(c22Id, c22.getId());
Assert.assertEquals("ParentChild22", c22.getParentStr());
Assert.assertEquals(0L, c22.getChild21Long());
Assert.assertEquals("Child22", c22.getChild22Str());
startEnd.end();
Assert.assertEquals(5, countForKind(PARENT_KIND));
}