private function getDummyActiveCompany() : Company
 {
     $company = new Company();
     $company->setName('Acme');
     $company->setIsActive(true);
     return $company;
 }
예제 #2
0
 public function testCreate()
 {
     $company = new Company();
     $company->setName('Acme');
     $company->setIsActive(true);
     $this->assertSame('Acme', $company->getName());
     $this->assertSame(true, $company->isActive());
 }