/** * @expectedException \Lug\Component\Translation\Exception\TranslationNotFoundException * @expectedExceptionMessage The translation could not be found. */ public function testMissingTranslation() { $this->translatable->setLocales(['fr_FR', 'en_EN']); $this->translatable->setFallbackLocale('en'); $this->translatable->getTranslation(); }