Scalr\Tests\WebTestCase::markTestSkippedIfPlatformDisabled PHP Méthode

markTestSkippedIfPlatformDisabled() protected méthode

Skip test if platform does not enabled
protected markTestSkippedIfPlatformDisabled ( string $platform )
$platform string
    protected function markTestSkippedIfPlatformDisabled($platform)
    {
        if (!$this->getEnvironment() || !$this->getEnvironment()->isPlatformEnabled($platform)) {
            $this->markTestSkipped($platform . ' platform is not enabled');
        }
    }