assertEquals('index', Config::get('DEFAULT_ACTION')); } public function testGetFailingEnvironment() { // manually set environment to "foobar" (and non-existing environment) putenv('APPLICATION_ENV=foobar'); // call for environment should return false because config.foobar.php does not exist $this->assertEquals(false, Config::get('DEFAULT_ACTION')); } }