/** * test response deserialied filter */ public function testResponseDeserializedFilter() { $testPacket = new Amfphp_Core_Amf_Packet(); $testPacket->messages[] = new Amfphp_Core_Amf_Message(null, null, $this->textInPhpCharset); $ret = $this->object->filterDeserializedResponse($testPacket); $modifiedPacket = $ret; $this->assertEquals($this->textInClientCharset, $modifiedPacket->messages[0]->data); }