/** * Test for ConfigFile::setConfigData * * @return void * @test */ public function testSetConfigData() { $this->object->set('abc', 'should be deleted by setConfigData'); $this->object->setConfigData(array('a' => 'b')); $this->assertEquals(array('a' => 'b'), $this->object->getConfig()); $this->assertEquals(array('a' => 'b'), $this->object->getConfigArray()); }