@Test
public void testContainsCombinedSupportedQuery() throws Exception {

	SearchContext searchContext = getSearchContext();
	searchContext.setKeywords("test");
	QueryConfig queryConfig = searchContext.getQueryConfig();
	queryConfig.setAttribute(
		"capabilityQuery", CapabilityQuery.BOTHCOMBINED.value());
	String cmisQuery = buildQuery(searchContext);
	assertQueryEquals(
		"((cmis:name = 'test' OR cmis:createdBy = 'test') OR " +
			"CONTAINS('test'))",
		cmisQuery);
}