/** * RTFN */ public function testSortSimple() { $this->fillCollectionShuffle(); $function = $this->getFunctionForSortSimpleCompare(); $this->testable->sort($function); $indexes = range(1, 10); $this->assertEquals($indexes, $this->testable->getIds()); }