You are here

public function CriteriaTest::testOrderings in Plug 7

File

lib/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CriteriaTest.php, line 71

Class

CriteriaTest

Namespace

Doctrine\Tests\Common\Collections

Code

public function testOrderings() {
  $criteria = Criteria::create()
    ->orderBy(array(
    "foo" => "ASC",
  ));
  $this
    ->assertEquals(array(
    "foo" => "ASC",
  ), $criteria
    ->getOrderings());
}