public class MILYN_560_Test extends TestCase {
public void test_DOM() {
Smooks smooks = new Smooks();
smooks.addVisitor(new DOMVisitAfter() {
public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException {
assertEquals("&tomfennelly", element.getAttribute("attrib"));
assertEquals("&tomfennelly", element.getTextContent());
}
}, "element");