@Test
public void testPredicateVar() {

	builder.addPrefix("", "http://example/")
			.addWhere(":S", "?p", ":O");
	String query = builder.buildString();
	assertContainsRegex(WHERE + OPEN_CURLY + ":S" + SPACE + var("p")
			+ SPACE + ":O" + OPT_SPACE + CLOSE_CURLY, query);
}