@group DDC-1637
public function testMatchingOrdering() {
$this
->fillMatchingFixture();
$col = $this->_coll
->matching(new Criteria(null, array(
'foo' => 'DESC',
)));
$this
->assertInstanceOf('Doctrine\\Common\\Collections\\Collection', $col);
$this
->assertNotSame($col, $this->_coll);
$this
->assertEquals(2, count($col));
$this
->assertEquals('baz', $col[0]->foo);
$this
->assertEquals('bar', $col[1]->foo);
}