Refactored reciever group and adapted testing namespaces

This commit is contained in:
Kevin Frantz
2018-10-31 16:15:39 +01:00
parent 09cfcebb92
commit bb01080b34
17 changed files with 90 additions and 140 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace App\tests\unit\Entity\Meta;
use PHPUnit\Framework\TestCase;
use Doctrine\Common\Collections\Collection;
use App\Entity\Meta\Reciever;
use App\Entity\Meta\RecieverInterface;
class RecieverTest extends TestCase
{
/**
*
* @var RecieverInterface
*/
public $reciever;
public function setUp():void{
$this->reciever = new Reciever();
}
public function testConstructor():void {
$this->assertEquals(Collection::class, $this->reciever->getAllRecievers());
}
}