/**
  * Test getMessage
  */
 public function testGetMessage()
 {
     $this->assertSame($this->message, $this->event->getMessage());
 }
 /**
  * @param MailerEvent $event
  */
 public function addMessage(MailerEvent $event)
 {
     $this->messages[] = $event->getMessage();
 }