public function testGetSetPerson() { $expected = (new Person())->setTitle("Title")->setFirstName("First")->setLastName("Last")->setGender("F")->setAge(75); $this->assertNotEmpty($this->instance->getPerson()); $this->assertNotEquals($expected, $this->instance->getPerson()); $this->assertTrue($this->instance->setPerson($expected) instanceof Questionnaire); $this->assertEquals($expected, $this->instance->getPerson()); }