}
@Test
public void testWithSortDescMultipleFields() {
SimpleStringCriteria criteria = new SimpleStringCriteria("field_1:value_1");
Query query = new SimpleQuery(criteria);
query.addSort(new Sort(Sort.Direction.DESC, "field_2", "field_3"));
SolrQuery solrQuery = queryParser.constructSolrQuery(query);
Assert.assertEquals("field_2 desc,field_3 desc", solrQuery.getSortField());
Assert.assertEquals(2, solrQuery.getSorts().size());
}