/**
  * @testdox  Ensure the getTask() correctly returns the name of the task variable
  *
  * @covers   JControllerLegacy::getTask
  */
 public function testGetTask()
 {
     TestReflection::setValue($this->class, 'task', 'test');
     $this->assertEquals('test', $this->class->getTask());
 }