@Test
public void testProximityQuery() throws Exception {

	SearchContext searchContext = getSearchContext();
	searchContext.setKeywords("\"test document\"~10");
	String cmisQuery = buildQuery(searchContext);
	assertQueryEquals(
		"(cmis:name = 'test document' OR cmis:createdBy = 'test document')",
		cmisQuery);
}