public void testNullSingleMapper() {
SnarlTemplate tmp = new SnarlTemplate();
tmp.setDataSource(dataSource);
String sparql = "SELECT ?b WHERE { ?a <http://purl.org/dc/elements/1.1/title> ?b } LIMIT 1";
// unlike previous test, a is not bound, therefore should find null in Sesame API
String result = tmp.queryForObject(sparql, new SingleMapper("a"));
assertNull(result);
}