Example #1
0
        public void Muted_notice_does_not_throw_exception()
        {
            Twitter.Setup(new Setup() {
                { "consumerkey", "jgsldfghdfgu5y" },
                { "consumersecret", "593u46[po3jkryt'lsgldkjfsf,adfsdfg" },
                { "accesstoken", "4528345-jahfkjsdgnpsuehtpuehgjn;SDMnspuihgs" },  // should be "accesstoken"
                { "accesstokensecret", "3573JSL;KGEPUTWPDMS;LKGJRGUITU55L2T" }     // should be "accesstokensecret"
            });

            Notice n = new Notice("This won't be broadcast.");
            n.SetMedia(typeof(Twitter));
            n.Mute().Send();
        }