diff --git a/application/src/Entity/Source/Combination/AbstractCombinationSource.php b/application/src/Entity/Source/Combination/AbstractCombinationSource.php new file mode 100644 index 0000000..c0816d2 --- /dev/null +++ b/application/src/Entity/Source/Combination/AbstractCombinationSource.php @@ -0,0 +1,8 @@ +identity = new IdentitySource(); + } + + public function testConstructor():void{ + $this->assertInstanceOf(FullPersonNameSourceInterface::class, $this->identity->getName()); + } + + public function testName():void{ + $name = $this->createMock(FullPersonNameSourceInterface::class); + $this->assertNull($this->identity->setName($name)); + $this->assertEquals($name, $this->identity->getName()); + } +} +