public function testSorts() { $sorts = array('foo', 'bar'); $this->query->setSorts($sorts); $this->assertTrue($this->query->hasSorts()); $this->assertSame($sorts, $this->query->getSorts()); }
public function testSorts() { $sorts = array('foo', 'bar'); $this->query->setSorts($sorts); $this->assertTrue($this->query->hasSorts()); $this->assertSame($sorts, $this->query->getSorts()); }