assertTrue("Results not Text objects", object instanceof Text);
Text text = (Text) object;
assertTrue("Results should support the parent relationship", text
.supportsParent());
assertTrue(
"Results should contain reference to the parent element",
text.getParent() != null);
assertTrue("Results should not reference to the owning document",