tests/Health/Afflictions/HealthAfflictionsExceptionsHierarchyTest.php
<?php declare(strict_types=1);
namespace DrdPlus\Tests\Health\Afflictions;
use DrdPlus\Health\Health;
use Granam\Tests\ExceptionsHierarchy\Exceptions\AbstractExceptionsHierarchyTest;
class HealthAfflictionsExceptionsHierarchyTest 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();
}
}