conference() public method

Overload for Conference that allows a Conference object to be passed.
public conference ( TropoCSharp.Tropo.Conference conference ) : void
conference TropoCSharp.Tropo.Conference A Conference object.
return void
        public void testConferenceFromObject()
        {
            Conference conference = new Conference();
            conference.id = "1234";
            conference.mute = false;
            conference.name = "foo";
            conference.playTones = false;
            conference.terminator = "#";

            Tropo tropo = new Tropo();
            tropo.conference(conference);

            Assert.AreEqual(this.conferenceJson, TropoJSON.render(tropo));
        }
        public void testConference()
        {
            Tropo tropo = new Tropo();
            tropo.conference("1234", false, "foo", false, null, "#");

            Assert.AreEqual(this.conferenceJson, TropoJSON.render(tropo));
        }