/**
  * Test the serialize/unserialize implementation for a string message.
  *
  * @return void
  */
 public function testSerializeAndUnserialize()
 {
     // serialize the message
     $serialized = $this->stringMessage->serialize();
     // create a new message representation using a different message
     $toCompare = new StringMessage(StringMessageTest::ANOTHER_EXAMPLE_STRING);
     $toCompare->unserialize($serialized);
     // test messages to be equal
     $this->assertEquals($this->stringMessage, $toCompare);
 }