/**
  * @return GoalioMessage
  */
 public function getTransport()
 {
     if (null === $this->transport) {
         $this->transport = $this->getServiceLocator()->get('goaliomailservice_message');
         $twigRenderer = $this->getServiceLocator()->get('ZfcTwigRenderer');
         $this->transport->setRenderer($twigRenderer);
     }
     return $this->transport;
 }
 public function testSetGetTransport()
 {
     $transport = 'NewTransport';
     $this->message->setTransport($transport);
     $this->assertEquals($transport, $this->message->getTransport());
 }