// Check the properties ...
assertThat(node.getProperty(JcrLexicon.UUID, cache).getFirstValue().toString(), is(node.getKey().getIdentifier()));
assertThat(node.getProperty(JcrLexicon.PRIMARY_TYPE, cache).getFirstValue(), is((Object)ModeShapeLexicon.ROOT));
// Check the child references ...
ChildReferences refs = node.getChildReferences(cache);
assertThat(refs, is(notNullValue()));
assertThat(refs.size(), is(3L));
Iterator<ChildReference> iter = refs.iterator();
ChildReference system = refs.getChild(JcrLexicon.SYSTEM);
ChildReference childA = refs.getChild(name("childA"));
ChildReference childB = refs.getChild(name("childB"));
assertThat(system.getKey().toString(), is("source1system-jcrsystem"));
assertThat(childA.getKey().toString(), is("source1works1-childA"));
assertThat(childB.getKey().toString(), is("source1works1-childB"));