/** * @test * @group iterator-employee-setter * @group iterator **/ public function セッターのテスト() { $name = 'John'; $age = 28; $job = 'Engineer'; $this->employee->setName($name); $this->employee->setAge($age); $this->employee->setJob($job); $this->assertEquals($name, $this->employee->getName()); $this->assertEquals($age, $this->employee->getAge()); $this->assertEquals($job, $this->employee->getJob()); }