@Test
public void testAddMinus() {

	SelectBuilder sb = new SelectBuilder();
	sb.addPrefix("pfx", "uri").addWhere("<one>", "<two>", "three");
	handler.addMinus(sb);
	handler.build();	
	
	ElementPathBlock epb = new ElementPathBlock();
	ElementMinus minus = new ElementMinus(epb);
	epb.addTriplePath( new TriplePath( new Triple( NodeFactory.createURI("one"), NodeFactory.createURI("two"), NodeFactory.createLiteral("three"))));
	WhereValidator visitor = new WhereValidator( minus );
	query.getQueryPattern().visit( visitor );
	assertTrue( visitor.matching );
}