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