public function testEncodeCdataWrapping() {
$array = array(
'firstname' => 'Paul <or Me>',
);
$expected = '<?xml version="1.0"?>' . "\n" . '<response><firstname><![CDATA[Paul <or Me>]]></firstname></response>' . "\n";
$this
->assertEquals($expected, $this->encoder
->encode($array, 'xml'));
}