/** * Test the extendValue() method * * @return void */ public function testExtendValue() { // Get our config $config = new Config(); // Test string concatination $config->extendValue('environment', 'test'); $this->assertEquals('productiontest', $config->getValue('environment')); // Test array extension $config->extendValue('enforcement/omit', array('Tests')); $this->assertEquals(array('PHPUnit', 'Psr\\Log', 'PHP', 'Tests'), $config->getValue('enforcement/omit')); }