assertEquals('index', Config::get('DEFAULT_ACTION')); } public function testGetFailingEnvironment() { // fake application constants putenv('APPLICATION_ENV=foobar'); // call for environment should return false because config.foobar.php does not exist $this->assertEquals(false, Config::get('DEFAULT_ACTION')); } }