@Test
public void visitNodeValueDurationTest() throws DatatypeConfigurationException {

	Duration dur = DatatypeFactory.newInstance().newDuration(true, 1, 2, 3, 4, 5, 6);
	NodeValue nv = new NodeValueDuration( dur );
	nv.visit( rewriter );
	NodeValue result = rewriter.getResult();
	assertEquals( nv, result );
	assertEquals( nv.getClass(), result.getClass() );
}