public void OriginatorFormat()
        {
            var recipients = new Recipients();
            recipients.AddRecipient(31612345678);

            new Message("Orignator", "This is a message from an originator", recipients);
            var message = new Message("Or igna tor", "This is a message from an originator with whitespace", recipients);
            try
            {
                message = new Message("Orignator ", "This is a message from an originator with trailing whitespace", recipients);
                Assert.Fail("Expected an error exception, because the originator contains trailing whitespace!");
            }
            catch (Exception e)
            {
                Assert.IsInstanceOfType(e, typeof(ArgumentException));
            }

            try
            {
                message = new Message(" Orignator", "This is a message from an originator with leading whitespace", recipients);
                Assert.Fail("Expected an error exception, because the originator contains leading whitespace!");
            }
            catch (Exception e)
            {
                Assert.IsInstanceOfType(e, typeof(ArgumentException));
            }
        }
        public void DeserializeRecipientsAsMsisdnsArray()
        {
            var recipients = new Recipients();
            recipients.AddRecipient(31612345678);

            var message = new Message("MsgBirdSms", "Welcome to MessageBird", recipients);
            var messages = new Messages(message);

            string serializedMessage = messages.Serialize();

            messages.Deserialize(serializedMessage);
        }
        public void DeserializeRecipientsAsMsisdnsArray()
        {
            var recipients = new Recipients();
            recipients.AddRecipient(31612345678);

            var voiceMessage = new VoiceMessage("Welcome to MessageBird", recipients);
            var voiceMessages = new VoiceMessages(voiceMessage);

            string serializedMessage = voiceMessages.Serialize();

            voiceMessages.Deserialize(serializedMessage);
        }