/** * Test JController::getName * * @covers JController::getName */ public function testGetName() { $this->assertThat($this->class->getName(), $this->equalTo('j')); TestReflection::setValue($this->class, 'name', 'inspector'); $this->assertThat($this->class->getName(), $this->equalTo('inspector')); }