public function CriteriaTest::testOrderings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CriteriaTest.php \Doctrine\Tests\Common\Collections\CriteriaTest::testOrderings()
File
- vendor/
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());
}