public function testMerge() { $xml1 = '<?xml version="1.0" ?> <slimdump> <table name="dicht*" dump="full" /> </slimdump>'; $config1 = new Config(new \SimpleXMLElement($xml1)); $xml2 = '<?xml version="1.0" ?> <slimdump> <table name="dicht*" dump="noblob" /> </slimdump>'; $config2 = new Config(new \SimpleXMLElement($xml2)); $config1->merge($config2); $table = $config1->findTable('dichtikowski'); $this->assertEquals('NULL', $table->getSelectExpression('testColumnName', true)); }