public function testGetPagerWithStoppedOrders()
{
$self = $this;
$this->getOrderManager(function ($qb) use($self) {
$qb->expects($self->once())->method('andWhere')->with($self->equalTo('o.status = :status'));
$qb->expects($self->once())->method('setParameters')->with($self->equalTo(array('status' => BaseOrder::STATUS_STOPPED)));
})->getPager(array('status' => BaseOrder::STATUS_STOPPED), 1);
}