assertSame('http://localhost:8080', SecurityConfig::resolveCorsOrigin('development')); $this->assertSame(100, SecurityConfig::resolveRateLimit('development', 100)); $this->assertSame(100, SecurityConfig::resolveLogLevel('debug')); } public function testProductionDefaultsRejectWildcardOriginsAndUseRestrictedLogging(): void { $this->assertSame('', SecurityConfig::resolveCorsOrigin('production')); $this->assertSame(120, SecurityConfig::resolveRateLimit('production', 120)); $this->assertSame(300, SecurityConfig::resolveLogLevel('warning')); } }