object instanceof Attribute);
Attribute attribute = (Attribute) object;
assertTrue("Results should support the parent relationship",
attribute.supportsParent());
assertTrue(
"Results should contain reference to the parent element",
attribute.getParent() != null);
assertTrue("Resulting document not correct", attribute
.getDocument() != null);