tests/Codes/CodesExceptionsHierarchyTest.php
<?php declare(strict_types=1);
namespace DrdPlus\Tests\Codes;
use Granam\Tests\ExceptionsHierarchy\Exceptions\AbstractExceptionsHierarchyTest;
class CodesExceptionsHierarchyTest extends AbstractExceptionsHierarchyTest
{
/**
* @return string
*/
protected function getTestedNamespace(): string
{
return str_replace('\Tests', '', __NAMESPACE__);
}
/**
* @return string
*/
protected function getRootNamespace(): string
{
return $this->getTestedNamespace();
}
}