Implemented Tests for grant attribut

This commit is contained in:
Kevin Frantz
2018-11-06 22:27:06 +01:00
parent a3d10ac9af
commit d2ffabec14
2 changed files with 36 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ class RightTest extends TestCase
public function testConstructorGeneral(): void
{
$this->assertEquals($this->right, $this->right->getReciever()->getRight());
$this->assertTrue($this->right->getGrant());
$this->expectException(\TypeError::class);
$this->assertNull($this->right->getLaw());
}