public function CriteriaTest::testOrderings in Plug 7
File
- lib/
doctrine/ collections/ tests/ Doctrine/ Tests/ Common/ Collections/ CriteriaTest.php, line 71
Class
Namespace
Doctrine\Tests\Common\CollectionsCode
public function testOrderings() {
$criteria = Criteria::create()
->orderBy(array(
"foo" => "ASC",
));
$this
->assertEquals(array(
"foo" => "ASC",
), $criteria
->getOrderings());
}