public function getEnvironmentName() { return $this->environment->getCurrentEnvironmentName(); }
public function testGetEnvironmentName() { $env = Environment::getInstance(); $env->initializeEnvironment(__DIR__ . '/../DemoApp/'); $app = new Application($env); $this->assertSame('Production', $app->getEnvironmentName()); }