Exemplo n.º 1
0
 /**
  * Gets the getOrder() and setOrder() methods
  */
 public function testOrder()
 {
     $criteria = new ASolrCriteria();
     $criteria->order = "id DESC, other_field ASC, somethingElse";
     $this->assertEquals("id DESC, other_field ASC, somethingElse", $criteria->getParam("sort"));
 }