@Test
public void testContainsCombinedSupportedWildcardQuery() throws Exception {

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