@Test
public void addGraph() {

	WhereHandler handler2 = new WhereHandler(new Query());
	handler2.addWhere(new TriplePath(new Triple(NodeFactory.createURI("one"), NodeFactory.createURI("two"),
			NodeFactory.createURI("three"))));
	handler.addGraph(NodeFactory.createURI("graph"), handler2);
	handler.build();
	
	assertContainsRegex(WHERE + OPEN_CURLY + "GRAPH" + SPACE + uri("graph") + SPACE + OPEN_CURLY + uri("one")
			+ SPACE + uri("two") + SPACE + uri("three") + OPT_SPACE + CLOSE_CURLY + CLOSE_CURLY, query.toString());
}