ConfImpl parent = loadConf("inherit1_parent.xml");
// Child 1
{
ConfImpl child = loadConf("inherit1_child1.xml");
child.inherit(parent);
JXPathContext context = JXPathContext.newContext(child);
assertEquals(1, context.getValue("count(properties)", Integer.class));
assertEquals(3, context.getValue("count(properties/property)", Integer.class));