protected function getSwiftMessage(MessageContract $message)
    {
        $swiftMessage = $message->_swiftMessage();
        if (!$swiftMessage instanceof Swift_Message) {
            throw new UnexpectedValueException('Swift\Transport can only send messages with swift messages');
        }

        return $swiftMessage;
    }