Moved collection test directory

This commit is contained in:
Kevin Frantz
2018-11-22 21:57:24 +01:00
parent d67ffb2a50
commit e4c962bbfa
2 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Tests\Unit\Entity\Source\Complex\Collection;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Complex\Collection\CollectionSourceInterface;
use App\Entity\Source\Complex\Collection\AbstractCollectionSource;
use Doctrine\Common\Collections\Collection;
class AbstractCollectionSourceTest extends TestCase
{
/**
* @var CollectionSourceInterface
*/
public $collectionSource;
public function setUp(): void
{
$this->collectionSource = new class() extends AbstractCollectionSource {
};
}
public function testConstruct(): void
{
$this->assertInstanceOf(Collection::class, $this->collectionSource->getCollection());
}
}