assertEquals("value1", p1.getValue());
l = p1.getChildren();
assertEquals(2, l.size());
Child c1 = (Child) l.get(0);
assertSame(p1, c1.getParent());
assertEquals("detailkey1", c1.getKey());
assertEquals("detailvalue1", c1.getValue());
Child c2 = (Child) l.get(1);
assertSame(p1, c2.getParent());
assertEquals("detailkey2", c2.getKey());
assertEquals("detailvalue2", c2.getValue());
}