public function testGetSetLocalHealthAuthority() { $expected = new LocalHealthAuthority('CODE', 'NAME'); $this->assertEmpty($this->instance->getLha()); $this->assertEmpty($this->instance->getLhaName()); $this->assertInstanceOf(Authority::class, $this->instance->setLha($expected)); $this->assertEquals($expected, $this->instance->getLha()); $this->assertEquals($expected->getLocalAuthorityName(), $this->instance->getLhaName()); }