@Test
public void visitNodeValueDoubleNodeTest() {

	Node n = NodeFactory.createLiteral(Utils.stringForm( 3.14 ), XSDDatatype.XSDdouble) ;
	NodeValue nv = new NodeValueDouble( 3.14, n  );
	nv.visit( rewriter );
	NodeValue result = rewriter.getResult();
	assertEquals( nv, result );
	assertEquals( nv.getClass(), result.getClass() );
}