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