Ejemplo n.º 1
0
        public void Can_I_Generate_Sms()
        {
            var response = new Response();
            response.Sms("Hello from inbound :)", PhoneNumberToDial, PhoneNumberToDial);

            Assert.True(IsValidInboundXML(response.CreateXml()));
        }
Ejemplo n.º 2
0
        public void Can_I_Generate_Sms_With_Attributes()
        {
            var response = new Response();
            response.Sms("Hello from inbound :)", PhoneNumberToDial, PhoneNumberToDial, null, HttpMethod.POST, null);

            Assert.True(IsValidInboundXML(response.CreateXml()));
        }