public function testSortDescInArrayCollection()
 {
     $collection = new ArrayCollection(array(0, 1, 2, 3, 4, 5, 5));
     $this->assertEquals(0, $collection->first());
     $collection->sortDesc();
     $this->assertEquals(0, $collection->last());
 }