subject = new FeatureFlagChecker(); $_ENV['FEATURE'] = true; $_ENV['FEATURE_DISABLED'] = false; } public function testIsEnabled(): void { self::assertTrue($this->subject->isEnabled('FEATURE')); } public function testIsNotEnabled(): void { self::assertFalse($this->subject->isEnabled('NOT_ENABLED_FEATURE')); } public function testIsEnabledOnDisabledFeature(): void { self::assertFalse($this->subject->isEnabled('FEATURE_DISABLED')); } }