public void testCreateStatementTypeLiteral()
{
final Model model = ModelFactory.createDefaultModel();
final Resource R = model.createResource("http://example/r");
final Property P = model.createProperty("http://example/p");
model.add(R, P, "2", XSDDatatype.XSDinteger);
final Literal L = ResourceFactory.createTypedLiteral("2",
XSDDatatype.XSDinteger);
Assert.assertTrue(model.contains(R, P, L));
Assert.assertFalse(model.contains(R, P, "2"));