use Shopware\Core\System\SystemConfig\Exception\ConfigurationNotFoundException;
/**
* @internal
*
* @covers \Shopware\Core\System\SystemConfig\Exception\ConfigurationNotFoundException
*/
class ConfigurationNotFoundExceptionTest extends TestCase
{ public function testCreation(): void
{ $exception =
new ConfigurationNotFoundException('test'
);
static::
assertEquals('SYSTEM__SCOPE_NOT_FOUND',
$exception->
getErrorCode());
static::
assertEquals(404,
$exception->
getStatusCode());
static::
assertEquals('Configuration for scope "test" not found.',
$exception->
getMessage());
}}