public void testChildIntContentDefaultValue() { Node node = XMLTools.child(this.rootNode, "element-1"); assertEquals(42, XMLTools.childIntContent(node, "element-1-int", 99)); assertEquals(99, XMLTools.childIntContent(node, "element-1-int-x", 99)); }
public void testChildIntContent() { Node node = XMLTools.child(this.rootNode, "element-1"); assertEquals(42, XMLTools.childIntContent(node, "element-1-int")); }