public function testSet() { $this->config->load(__DIR__ . '/Fixtures/config2.php'); $this->config->set('mail.from.address', '*****@*****.**'); $this->assertEquals($this->config->get('mail.from.address'), '*****@*****.**'); $this->config->offsetSet('foo.bar', 'fooBar'); $this->assertTrue($this->config->offsetExists('foo.bar')); $this->assertEquals($this->config->offsetGet('foo.bar'), 'fooBar'); $this->config->offsetUnset('foo.bar'); $this->assertEquals($this->config->offsetGet('foo.bar'), null); }