Scalr\Tests\TestCase::getInstallationId PHP Method

getInstallationId() protected static method

It is used for isolation the functional tests of third party services like AWS, OpenStack ... etc
protected static getInstallationId ( ) : string
return string Returns ID of the Scalr installation
    protected static function getInstallationId()
    {
        if (!defined('SCALR_ID')) {
            throw new \Exception('SCALR_ID is not defined!');
        }
        return \SCALR_ID;
    }