Optimized right and reciever logic

This commit is contained in:
Kevin Frantz
2018-11-04 15:51:16 +01:00
parent 8f983659bc
commit f634555ed5
7 changed files with 19 additions and 20 deletions

View File

@@ -22,5 +22,7 @@ class RecieverTest extends TestCase
public function testConstructor(): void
{
$this->assertInstanceOf(Collection::class, $this->reciever->getMembers());
$this->expectException(\TypeError::class);
$this->reciever->getRight();
}
}