class ExtensionNotFoundExceptionTest extends TestCase
{ /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/
public function testGetErrorCode(): void
{ static::
assertSame( 'FRAMEWORK__EXTENSION_NOT_FOUND',
ExtensionNotFoundException::
extensionNotFoundFromId('123'
)->
getErrorCode() );
} /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/
public function testGetStatusCode(): void
{ static::
assertSame( Response::HTTP_NOT_FOUND,
ExtensionNotFoundException::
fromTechnicalName('test-app'
)->
getStatusCode() );