@Test
public void testBetweenWithDateValue() {
DateTime lowerBound = new DateTime(2012, 8, 21, 6, 35, 0, DateTimeZone.UTC);
DateTime upperBound = new DateTime(2012, 8, 21, 19, 30, 0, DateTimeZone.UTC);
Criteria criteria = new Criteria("field_1").between(lowerBound, upperBound);
Assert.assertEquals("field_1:[2012\\-08\\-21T06\\:35\\:00.000Z TO 2012\\-08\\-21T19\\:30\\:00.000Z]",
queryParser.createQueryStringFromCriteria(criteria));
}