QueryEngine qe = new LdapQueryEngine(query, config);
qe.setDataset(DatasetFactory.create());
ResultSet res = qe.execSelect();
assertTrue("I have results", res.hasNext());
QuerySolution result = res.nextSolution();
assertTrue("I have a country", result.contains("country"));
assertEquals("I have the correct country", Node.createLiteral("GB"), result.get("country").asNode());
}
/* As above, but ASK */