queryParser.createQueryStringFromCriteria(criteria));
}
@Test
public void testCriteriaChain() {
Criteria criteria = new Criteria("field_1").startsWith("start").endsWith("end").contains("contains").is("is");
Assert.assertEquals("field_1", criteria.getField().getName());
Assert.assertEquals("field_1:(start* *end *contains* is)", queryParser.createQueryStringFromCriteria(criteria));
}