コード例 #1
0
        public void testGeneralLogSecurity()
        {
            Tropo tropo = new Tropo();

            tropo.GeneralLogSecurity("suppress");
            tropo.Say("this is not logged");
            tropo.GeneralLogSecurity("none");
            tropo.Say("this will be logged");

            Assert.AreEqual(this.generalLogSecurityJson, renderJSONToText(tropo));
        }