/** * */ public function testWrappedMessage() { if (!class_exists('Swift_Message')) { $this->markTestSkipped('Swift_Message not installed'); } $wrappedMessage = new MailWrappedMessage(); $this->assertNull($wrappedMessage->getMessage()); $wrappedMessage = new MailWrappedMessage(new \Swift_Message()); $this->assertNotNull($wrappedMessage->getWrappedMessage()); }