@Test
public void testSetVars() {

	Var v = Var.alloc("v");
	Triple t = new Triple(NodeFactory.createURI("one"),
			NodeFactory.createURI("two"), v);
	handler.addConstruct(t);
	Template template = query.getConstructTemplate();
	assertNotNull(template);
	List<Triple> lst = template.getTriples();
	assertEquals(1, lst.size());
	assertEquals(t, lst.get(0));
	Map<Var, Node> values = new HashMap<>();
	values.put(v, NodeFactory.createURI("three"));
	handler.setVars(values);
	template = query.getConstructTemplate();
	assertNotNull(template);
	lst = template.getTriples();
	assertEquals(1, lst.size());
	t = new Triple(NodeFactory.createURI("one"),
			NodeFactory.createURI("two"), NodeFactory.createURI("three"));
	assertEquals(t, lst.get(0));
}