assertTrue(Translator::isRtl('ar')); $this->assertTrue(Translator::isRtl('FA')); } public function testLtrLanguagesAreNot(): void { $this->assertFalse(Translator::isRtl('en')); $this->assertFalse(Translator::isRtl('ru')); } public function testNullFallsBackToCurrentLanguage(): void { // Whatever the current language is, the null form must equal the explicit one. $this->assertSame(Translator::isRtl(Translator::current()), Translator::isRtl()); } }