Esempio n. 1
0
        public void RemoveChatUser_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            This.Action(() => cat.RemoveChatUser(2, 2)).Throws <AccessTokenInvalidException>();
        }
Esempio n. 2
0
        public void RemoveChatUser_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(vk: new VkApi());

            Assert.That(del: () => cat.RemoveChatUser(chatId: 2, userId: 2), expr: Throws.InstanceOf <AccessTokenInvalidException>());
        }
Esempio n. 3
0
        public void RemoveChatUser_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            Assert.That(() => cat.RemoveChatUser(2, 2), Throws.InstanceOf <AccessTokenInvalidException>());
        }
Esempio n. 4
0
        public void RemoveChatUser_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            cat.RemoveChatUser(2, 2);
        }