Ejemplo n.º 1
0
        public void Can_I_Generate_Gather_With_Say()
        {
            var response = new Response();
            response.Gather(Gather.Create("http://www.action-url.com").Say("Hello", Voice.man, null));

            Assert.True(IsValidInboundXML(response.CreateXml()));
        }
Ejemplo n.º 2
0
        public void Can_I_Generate_Gather()
        {
            var response = new Response();
            response.Gather(Gather.Create("http://www.action-url.com"));

            Assert.True(IsValidInboundXML(response.CreateXml()));
        }
Ejemplo n.º 3
0
        public void Can_I_Generate_Gather_With_Attributes()
        {
            var response = new Response();
            response.Gather(Gather.Create("http://www.action-url.com", null, 10, "#", 10));

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