Renamed domain TwigManagement to Twig

This commit is contained in:
Kevin Frantz
2019-05-30 17:10:41 +02:00
parent f06adfdc5c
commit 899dede123
7 changed files with 13 additions and 13 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace tests\Unit\Domain\Twig;
use PHPUnit\Framework\TestCase;
use Infinito\Domain\Twig\LayerIconClassMap;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Exception\Collection\NotSetElementException;
/**
* @author kevinfrantz
*/
class LayerIconClassMapTest extends TestCase
{
public function testException(): void
{
$this->expectException(NotSetElementException::class);
$this->assertIsString(LayerIconClassMap::getIconClass('123123V'));
}
public function testAllLayersSet(): void
{
foreach (LayerType::getValues() as $value) {
$this->assertIsString(LayerIconClassMap::getIconClass($value));
}
}
}