public function testSortWithFieldNameAndDefaultOrder() { $qb = $this->getTestQueryBuilder()->sort('foo'); $this->assertEquals(['foo' => 1], $qb->debug('sort')); }