/** * Tests the getState method * * @return void * * @since 3.0 */ public function testGetState() { // Preload the state to test it TestReflection::setValue($this->object, '_state', 'JEditor::getState()'); $this->assertThat($this->object->getState(), $this->equalTo('JEditor::getState()')); }