示例#1
0
        public void ExportChatInviteLink_Returns()
        {
            var linkOne = _b.ExportChatInviteLink(_testChannelPost.Chat);

            Assert.NotNull(linkOne);

            var linkTwo = _b.ExportChatInviteLink(_testChannelPost.Chat);

            Assert.NotNull(linkTwo);
            Assert.That(linkOne != linkTwo);

            Assert.Throws <WebException>(() => _b.ExportChatInviteLink(_testMessage.Chat));
        }