protected function skipIfNotSuperUser() { if (!$this->isSuperUser()) { $this->markTestSkipped('Test user is not a superuser.'); } }