/** * @covers AppSolr::getPagedApplicationUids * * @depends testGetCountApplicationsPMOS2 */ public function testGetPagedApplicationUids($totalNumApplications) { $pagesize = 2; $aAppUids = $this->object->getPagedApplicationUids(0, $pagesize); if ($totalNumApplications >= $pagesize) { $this->assertCount(2, $aAppUids, 'Error returned paginated list of AppUids'); } else { $this->assertGreaterThan(0, $aAppUids, 'No AppUids found'); } return $aAppUids; }