public function testGetName() { $company = 'My Good Company'; $input = new OrganizationName($company); $this->target->setOrganizationName($input); $this->assertSame($this->target->getName(), $company); }
public function testFindActiveOrganizations() { /* @var Cursor $orgs */ $orgs = $this->repository->findActiveOrganizations(); $this->assertCount(1, $orgs); $this->assertEquals($this->organization->getName(), $orgs->getNext()->getName()); }