Exemplo n.º 1
0
 /**
  * Test...
  *
  * @covers Joomla\Language\Language::getUsed
  * @todo Implement testGetUsed().
  *
  * @return void
  */
 public function testGetUsed()
 {
     $this->assertEquals(array(), $this->object->getUsed(), 'Line: ' . __LINE__);
     // Remove the following lines when you implement this test.
     $this->markTestIncomplete('This test has not been implemented yet.');
 }
 /**
  * Test...
  *
  * @covers  Joomla\Language\Language::getUsed
  *
  * @return  void
  *
  * @since   1.0
  */
 public function testGetUsed()
 {
     $this->assertEmpty($this->object->getUsed(), 'Line: ' . __LINE__);
     TestHelper::setValue($this->object, 'used', array('COM_ADMIN.KEY' => array('caller info')));
     $this->assertEquals(array('COM_ADMIN.KEY' => array('caller info')), $this->object->getUsed(), 'Line: ' . __LINE__);
 }