/** * Test... * * @covers Joomla\Language\Language::getPaths * @todo Implement testGetPaths(). * * @return void */ public function testGetPaths() { // Without extension, retuns NULL $this->assertNull($this->object->getPaths('')); // Remove the following lines when you implement this test. $this->markTestIncomplete('This test has not been implemented yet.'); }
/** * Test... * * @covers Joomla\Language\Language::getPaths * * @return void * * @since 1.0 */ public function testGetPaths() { // Non-existent extension, retuns NULL $this->assertNull($this->object->getPaths('')); $paths = array('f' => 'foo', 'bar'); TestHelper::setValue($this->object, 'paths', $paths); $this->assertEquals($paths, $this->object->getPaths()); $this->assertEquals('foo', $this->object->getPaths('f')); }