@Test
public void testWildcardQuery() throws Exception {

	SearchContext searchContext = getSearchContext();
	searchContext.setKeywords("test*.jpg");
	String cmisQuery = buildQuery(searchContext);
	assertQueryEquals(
		"(cmis:name LIKE 'test%.jpg' OR cmis:createdBy LIKE 'test%.jpg')",
		cmisQuery);
}