Exemplo n.º 1
0
 /**
  * checks if data is already deserialized.
  *
  * @author Daniel Wendlandt
  */
 protected function processData()
 {
     if (null === $this->data) {
         if (null !== $this->rawData) {
             $this->data = $this->serializer->deserialize($this->rawData, $this->serializerParams);
         }
     }
 }
 public function testDeserialize()
 {
     $data = 'testDesrializeString';
     $this->assertSame($data, $this->serializer->deserialize($data));
 }