/** * @covers HashConfig::set */ public function testSet() { $conf = new HashConfig(['one' => '1']); $conf->set('two', '2'); $this->assertEquals('2', $conf->get('two')); // Check that set overwrites $conf->set('one', '3'); $this->assertEquals('3', $conf->get('one')); }