public function testThatExtendedClassIsMaintainedAfterOrderByQuery(\Pinq\ICollection $collection) { $collection = $collection->orderByAscending(function () { })->thenByDescending(function () { }); $this->assertExtended($collection); }