public function testGetPagerWithMultipleSort()
{
$self = $this;
$this->getCustomerManager(function ($qb) use($self) {
$qb->expects($self->never())->method('andWhere');
$qb->expects($self->exactly(2))->method('orderBy')->with($self->logicalOr($self->equalTo('c.firstname'), $self->equalTo('c.lastname')), $self->logicalOr($self->equalTo('ASC'), $self->equalTo('DESC')));
$qb->expects($self->once())->method('setParameters')->with($self->equalTo(array()));
})->getPager(array(), 1, 10, array('firstname' => 'ASC', 'lastname' => 'DESC'));
}