tests/Health/Afflictions/SpecificAfflictions/ExceptionsHierarchyTest.php
<?php declare(strict_types=1);
namespace DrdPlus\Tests\Health\Afflictions\SpecificAfflictions;
use DrdPlus\Health\Health;
use Granam\Tests\ExceptionsHierarchy\Exceptions\AbstractExceptionsHierarchyTest;
class ExceptionsHierarchyTest extends AbstractExceptionsHierarchyTest
{
/**
* @return string
*/
protected function getTestedNamespace(): string
{
return str_replace('\Tests', '', __NAMESPACE__);
}
/**
* @return string
*/
protected function getRootNamespace(): string
{
return (new \ReflectionClass(Health::class))->getNamespaceName();
}
}