/** * @return int */ protected function getEntitiesLimit() { return $this->paginationManager->getLimit(); }
public function testGetLimit() { $limit = 200; $this->configManager->expects($this->once())->method('get')->with('oro_entity_pagination.limit')->will($this->returnValue($limit)); $this->assertEquals($limit, $this->entityPaginationManager->getLimit()); }