public function testSetReplaceArray() { $config = array('one' => array('two' => array('three' => 'value'))); $expected = array('one' => array('two' => array('three' => array('four' => 'hello world')))); $returnVal = Config::set($config, 'one.two.three', array('four' => 'hello world')); $this->assertEquals($expected, $returnVal); $this->assertEquals($expected, $config); }