@Test
public void makeLiteralStringStringTest()
{

	Node n = Converters.makeLiteral( "5", "http://www.w3.org/2001/XMLSchema#int" );
	assertEquals( "5", n.getLiteralLexicalForm() );
	assertEquals( Integer.valueOf(5), n.getLiteralValue());
	assertEquals( "\"5\"^^http://www.w3.org/2001/XMLSchema#int", n.toString( null, true ));
	n = Converters.makeLiteral( "one", "some:stuff" );
	assertEquals( "one", n.getLiteralLexicalForm() );
	try {
		n.getLiteralValue();
		fail( "Should have thrown DatatypeFormatException");
	}
	catch (DatatypeFormatException expected) {
		// do nothing.
	}
	assertEquals( "\"one\"^^some:stuff", n.toString(null, true));
	try {
		Converters.makeLiteral( "NaN", "http://www.w3.org/2001/XMLSchema#int" );
		fail( "Should have thrown DatatypeFormatException");
	} catch (DatatypeFormatException expected) {
		// do nothing.
	}
}