diff --git a/application/tests/Unit/Entity/Attribut/RightAttributTest.php b/application/tests/Unit/Entity/Attribut/RightAttributTest.php new file mode 100644 index 0000000..ac9061f --- /dev/null +++ b/application/tests/Unit/Entity/Attribut/RightAttributTest.php @@ -0,0 +1,30 @@ +rightAttribut = new class() implements RightAttributInterface { + use RightAttribut; + }; + } + + public function testAccessors(): void + { + $right = $this->createMock(RightInterface::class); + $this->assertNull($this->rightAttribut->setRight($right)); + $this->assertEquals($right, $this->rightAttribut->getRight()); + } +}