示例#1
0
 public function testFindLanguage()
 {
     $this->app->getConfigObject()->setPublic('language', 'Indonesian');
     $this->assertEquals('Indonesian', $this->app->getLanguage());
 }
 public function testConfigOverride()
 {
     $this->app->getConfigObject()->setProtected('override', '2');
     $this->app->getConfigObject()->setPublic('override', '1');
     $this->assertEquals('2', $this->app->config('override'));
 }