/**
  * @throws AppException
  */
 protected function loadTranslations()
 {
     $calledClassName = $this->getCalledClassName();
     if (!$this->trans) {
         $this->trans = new Trans($calledClassName);
         $this->trans->loadTranslations();
     }
 }
 /**
  * @covers Trans::loadTranslations
  */
 public function testLoadTranslationsOtherLn()
 {
     $expected = ['global' => 'weltweit', 'comma' => 'Komma', 'no' => 'nein', 'yes' => 'ja'];
     Config::addConfigFromPath(__DIR__ . '/testConfig.php');
     Config::setLn('de');
     $model = new Trans('testTrans');
     $model->loadTranslations();
     $result = $model->getAllTranslations();
     $this->assertEquals($expected, $result);
 }