General optimation of tests and namespaces

This commit is contained in:
Kevin Frantz committed 2018-10-31 19:15:07 +01:00
1 parent a798262150
commit d427eeb458
15 files changed
+57 -24

No files matched your search

@@ -0,0 +1,26 @@
<?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());
}
}