mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented tests for LayerType
This commit is contained in:
@@ -29,11 +29,21 @@ class RightTest extends TestCase
|
||||
{
|
||||
$this->assertEquals($this->right, $this->right->getReciever()->getRight());
|
||||
$this->assertTrue($this->right->getGrant());
|
||||
}
|
||||
|
||||
public function testConstructorLayer(): void
|
||||
{
|
||||
$this->expectException(\TypeError::class);
|
||||
$this->assertNull($this->right->getLayer());
|
||||
}
|
||||
|
||||
public function testConstructorLaw(): void
|
||||
{
|
||||
$this->expectException(\TypeError::class);
|
||||
$this->assertNull($this->right->getLaw());
|
||||
}
|
||||
|
||||
public function testConstructorCondition()
|
||||
public function testConstructorCondition(): void
|
||||
{
|
||||
$this->expectException(\TypeError::class);
|
||||
$this->right->getCondition();
|
||||
|
Reference in New Issue
Block a user