ask() public method

Overload for Ask that allows an Ask object to be passed.
public ask ( Ask ask ) : void
ask Ask An Ask object.
return void
        public void testAsk()
        {
            Say say = new Say("Please enter your 5 digit zip code.");
            Choices choices = new Choices("[5 DIGITS]");

            Tropo tropo = new Tropo();
            tropo.ask(null, null, choices, null, "foo", null, say, null);
            Assert.AreEqual(this.askJson, TropoJSON.render(tropo));
        }
        public void testAskFromObject()
        {
            Say say = new Say("Please enter your 5 digit zip code.");
            Choices choices = new Choices("[5 DIGITS]");
            Ask ask = new Ask(choices, "foo", say);

            Tropo tropo = new Tropo();
            tropo.ask(ask);
            Assert.AreEqual(this.askJson, TropoJSON.render(tropo));
        }
        public void testAskWithOptionsInDifferentOrder()
        {
            Say say = new Say("Please enter your 5 digit zip code.");
            Choices choices = new Choices("[5 DIGITS]");
            Ask ask = new Ask();
            ask.bargein = false;
            ask.choices = choices;
            ask.required = true;
            ask.attempts = 1;
            ask.name = "foo";
            ask.say = say;
            ask.timeout = 30;
            ask.minConfidence = 30;

            Tropo tropo = new Tropo();
            tropo.ask(ask);
            Assert.AreEqual(this.askJsonWithOptions, TropoJSON.render(tropo));
        }
 public void testAskMethodWithAllArguements()
 {
     Tropo tropo = new Tropo();
     tropo.ask(1, false, new Choices("[5 DIGITS]"), 30, "foo", true, new Say("Please enter your 5 digit zip code."), 30);
     Assert.AreEqual(this.askJsonWithOptions, TropoJSON.render(tropo));
 }