Beispiel #1
0
 /**
  * @description Setting bad language throws exception
  */
 function setbadlanguage()
 {
     intl::setLanguage('sv');
     try {
         intl::setLanguage('swe');
     } catch (Exception $e) {
         $this->assertEquals(intl::getLanguage(), 'sv');
         return;
     }
     $this->explicitFail('No exception thrown');
 }