new Object[] { null },
});
DummySherpaServer server = new DummySherpaServer(data);
try {
Solutions s = helpExecuteQuery(server, 10);
String var = "a";
Assert.assertTrue(s.next());
Assert.assertEquals(uri, s.getBinding(var));
Assert.assertEquals(uri.getURI(), s.getURI(var));
Assert.assertTrue(s.next());
Assert.assertEquals(lit1, s.getBinding(var));
Assert.assertEquals(lit1, s.getLiteral(var));
Assert.assertTrue(s.next());
Assert.assertEquals(lit2, s.getBinding(var));
Assert.assertEquals(lit2, s.getLiteral(var));
Assert.assertTrue(s.next());
Assert.assertEquals(lit3, s.getBinding(var));
Assert.assertEquals(lit3, s.getLiteral(var));
Assert.assertEquals(d, s.getDateTime(var));
Assert.assertTrue(s.next());
Assert.assertEquals(aInt, s.getBinding(var));
Assert.assertEquals(aInt, s.getLiteral(var));
Assert.assertEquals(20, s.getInt(var));
Assert.assertTrue(s.next());
Assert.assertEquals(aLong, s.getBinding(var));
Assert.assertEquals(aLong, s.getLiteral(var));
Assert.assertTrue(s.next());
Assert.assertEquals(aBool, s.getBinding(var));
Assert.assertEquals(aBool, s.getLiteral(var));
Assert.assertEquals(true, s.getBoolean(var));
Assert.assertTrue(s.next());
Assert.assertEquals(aFloat, s.getBinding(var));
Assert.assertEquals(aFloat, s.getLiteral(var));
Assert.assertTrue(Float.valueOf(aFloat.getLexical()).equals(s.getFloat(var)));
Assert.assertTrue(s.next());
Assert.assertEquals(aDouble, s.getBinding(var));
Assert.assertEquals(aDouble, s.getLiteral(var));
Assert.assertTrue(Double.valueOf(aDouble.getLexical()).equals(s.getDouble(var)));
Assert.assertTrue(s.next());
Assert.assertEquals(aString, s.getBinding(var));
Assert.assertEquals(aString, s.getLiteral(var));
Assert.assertEquals("abcd", s.getString(var));
Assert.assertTrue(s.next());
Assert.assertEquals(bn, s.getBinding(var));
Assert.assertEquals(bn, s.getBlankNode(var));
Assert.assertTrue(s.next());
Assert.assertNull(s.getBinding(var));
Assert.assertFalse(s.isBound(var));
Assert.assertNull(s.getNamedNode(var));
Assert.assertNull(s.getLiteral(var));
Assert.assertNull(s.getBlankNode(var));
Assert.assertFalse(s.next());
} finally {
server.shutdown();
}
}