identity = new PersonIdentitySource(); } public function testConstructor(): void { $this->assertInstanceOf(FullPersonNameSourceInterface::class, $this->identity->getFullPersonNameSource()); } public function testFullName(): void { $name = $this->createMock(FullPersonNameSourceInterface::class); $this->assertNull($this->identity->setFullPersonNameSource($name)); $this->assertEquals($name, $this->identity->getFullPersonNameSource()); } }