function testMergeInObject() { $encoding = new SimpleGetEncoding(array('a' => 'A1', 'b' => 'B')); $encoding->merge(new SimpleEncoding(array('a' => 'A2'))); $this->assertIdentical($encoding->getValue('a'), array('A1', 'A2')); $this->assertIdentical($encoding->getValue('b'), 'B'); }