assertEquals("ending loc", 7, customTag.getStartTag().elementEnd());
assertEquals("starting line position", 1, customTag.tagData.getStartLine());
assertEquals("ending line position", 1, customTag.tagData.getEndLine());
AnotherTag anotherTag = (AnotherTag) customTag.childAt(0);
assertEquals("anotherTag child count", 1, anotherTag.getChildCount());
StringNode stringNode = (StringNode) anotherTag.childAt(0);
assertStringEquals("anotherTag child text", "something", stringNode.toPlainTextString());
assertStringEquals("first custom tag html", "<CUSTOM><ANOTHER>something</ANOTHER></CUSTOM>", customTag.toHtml());
customTag = (CustomTag) node[1];
assertStringEquals("second custom tag html", "<CUSTOM><ANOTHER>else</ANOTHER></CUSTOM>", customTag.toHtml());
}