assertThat(childDefn.getName(), is("ex:node"));
assertThat(childDefn.getDefaultPrimaryTypeName(), is("ex:defaultType"));
assertThat(childDefn.isMandatory(), is(true));
assertThat(childDefn.isAutoCreated(), is(true));
assertThat(childDefn.isProtected(), is(true));
assertThat(childDefn.allowsSameNameSiblings(), is(true));
assertThat(childDefn.getOnParentVersion(), is(OnParentVersionAction.VERSION));
String[] requiredTypeNames = childDefn.getRequiredPrimaryTypeNames();
assertThat(requiredTypeNames[0], is("ex:reqType1"));
assertThat(requiredTypeNames[1], is("ex:reqType2"));
}