public function testClone() { $ob = new Horde_Mime_Headers_ContentParam_ContentType('Content-Type', 'text/plain; foo=bar;'); $ob2 = clone $ob; $ob->setContentParamValue('image/jpeg'); $ob['foo'] = 123; $this->assertEquals('text/plain', $ob2->value); $this->assertEquals(array('foo' => 'bar'), $ob2->params); }