public function testGetPagerWithMultipleSort()
{
$self = $this;
$this->getBasketManager(function ($qb) use($self) {
$qb->expects($self->never())->method('andWhere');
$qb->expects($self->exactly(2))->method('orderBy')->with($self->logicalOr($self->equalTo('b.id'), $self->equalTo('b.locale')), $self->logicalOr($self->equalTo('ASC'), $self->equalTo('DESC')));
})->getPager(array(), 1, 10, array('id' => 'ASC', 'locale' => 'DESC'));
}