/** * Test... * * @covers Joomla\Language\Language::isRTL * @todo Implement testIsRTL(). * * @return void */ public function testIsRTL() { $this->assertFalse($this->object->isRTL()); // Remove the following lines when you implement this test. $this->markTestIncomplete('This test has not been implemented yet.'); }
/** * Test... * * @covers Joomla\Language\Language::isRTL * * @return void * * @since 1.0 */ public function testIsRTL() { $this->assertFalse($this->object->isRTL()); TestHelper::setValue($this->object, 'metadata', array('rtl' => true)); $this->assertTrue($this->object->isRTL()); }