@Test
public void testRangeQuery() throws Exception {

	SearchContext searchContext = getSearchContext();
	searchContext.setKeywords(
		"createDate:[20091011000000 TO 20091110235959]");
	String cmisQuery = buildQuery(searchContext);
	assertQueryEquals(
		"cmis:creationDate >= 2009-10-11T00:00:00.000Z AND " +
			"cmis:creationDate <= 2009-11-10T23:59:59.000Z",
		cmisQuery);
}