예제 #1
0
 /**
  * Test...
  *
  * @covers Joomla\Language\Language::getOrphans
  * @todo Implement testGetOrphans().
  *
  * @return void
  */
 public function testGetOrphans()
 {
     $this->assertEquals(array(), $this->object->getOrphans(), '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::getOrphans
  *
  * @return  void
  *
  * @since   1.0
  */
 public function testGetOrphans()
 {
     $this->assertEmpty($this->object->getOrphans(), 'Line: ' . __LINE__);
     TestHelper::setValue($this->object, 'orphans', array('COM_ADMIN.KEY' => array('caller info')));
     $this->assertEquals(array('COM_ADMIN.KEY' => array('caller info')), $this->object->getOrphans(), 'Line: ' . __LINE__);
 }