class ExtensionInstallExceptionTest extends TestCase
{ /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/
public function testGetErrorCode(): void
{ static::
assertSame( 'FRAMEWORK__EXTENSION_INSTALL_EXCEPTION',
(new ExtensionInstallException('Cannot find extension'
))->
getErrorCode() );
} /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/
public function testGetStatusCode(): void
{ static::
assertSame( Response::HTTP_INTERNAL_SERVER_ERROR,
(new ExtensionInstallException('Cannot find extension'
))->
getStatusCode() );