@Test
public void testGetValuesMap() {

	final Var v = Var.alloc("v");
	final Var x = Var.alloc("x");

	handler.addValueVar( query.getPrefixMapping(), v );
	handler.addValueVar( query.getPrefixMapping(), x );
	handler.addValueRow( query.getPrefixMapping(), Arrays.asList("<one>", "three"));
	handler.addValueRow( query.getPrefixMapping(), Arrays.asList("<two>", "four" ));
	
	Map<Var,List<Node>> map = handler.getValuesMap();
	assertEquals( 2, map.keySet().size());
	assertTrue( map.keySet().contains( v ));
	assertTrue( map.keySet().contains( x ));
	List<Node> lst = map.get(v);
	assertEquals(2, lst.size() );
	assertTrue( lst.contains( NodeFactory.createURI( "one")));
	assertTrue( lst.contains( NodeFactory.createURI( "two")));
	lst = map.get(x);
	assertEquals(2, lst.size() );
	assertTrue( lst.contains( NodeFactory.createLiteral( "three")));
	assertTrue( lst.contains( NodeFactory.createLiteral( "four")));
}