$this->assertEquals('und der Stein der Weisen',Lang::msg('Test.presentText'));
}
/**
*@dependstestMessage
*/
functiontestMessageNumMSingle(){
Lang::set("en_ca",true);
$this->assertEquals('Default language file "en" missing',Lang::msg('Exception.JKingWeb/NewsSync/Lang/Exception.defaultFileMissing',Lang::DEFAULT));
}
/**
*@dependstestMessage
*/
functiontestMessageNumMulti(){
Lang::set("en_ca",true);
$this->assertEquals('Happy Rotter and the Philosopher\'s Stone',Lang::msg('Test.presentText',['Happy Rotter','the Philosopher\'s Stone']));
}
/**
*@dependstestMessage
*/
functiontestMessageNamed(){
$this->assertEquals('Message string "Test.absentText" missing from all loaded language files (en)',Lang::msg('Exception.JKingWeb/NewsSync/Lang/Exception.stringMissing',['msgID'=>'Test.absentText','fileList'=>'en']));