public function testGetPagerWithInvalidSort() { $self = $this; $this->getBasketManager(function ($qb) use($self) { })->getPager(array(), 1, 10, array('invalid' => 'ASC')); }