public function testFindActiveOrganizations() { /* @var Cursor $orgs */ $orgs = $this->repository->findActiveOrganizations(); $this->assertCount(1, $orgs); $this->assertEquals($this->organization->getName(), $orgs->getNext()->getName()); }