### Question:
SparqlThingQuery implements ThingQuery { @Override public String toString() { return "SparqlThingQuery{" + "query='" + query + '\'' + '}'; } SparqlThingQuery(String query);   SparqlThingQuery(); @Override List<Thing> filter(Collection<Thing> things); String getQuery(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }### Answer:
@Test public void testToString() throws ThingQueryException { String queryString = "?x <http: SparqlThingQuery query = new SparqlThingQuery(queryString); assertEquals("SparqlThingQuery{query='?x <http: }