Finished refactoring of exceptions

This commit is contained in:
Kevin Frantz
2019-04-15 01:37:17 +02:00
parent 9f179ead73
commit 06f69675ac
49 changed files with 159 additions and 135 deletions

View File

@@ -3,9 +3,9 @@
namespace tests\Unit\Domain\TwigManagement;
use PHPUnit\Framework\TestCase;
use Infinito\Exception\Collection\NotSetException;
use Infinito\Domain\TwigManagement\LayerIconClassMap;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Exception\Collection\NotSetElementException;
/**
* @author kevinfrantz
@@ -14,7 +14,7 @@ class LayerIconClassMapTest extends TestCase
{
public function testException(): void
{
$this->expectException(NotSetException::class);
$this->expectException(NotSetElementException::class);
$this->assertIsString(LayerIconClassMap::getIconClass('123123V'));
}