示例#1
0
        public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            Assert.That(() => cat.SearchDialogs("hello"), Throws.InstanceOf <AccessTokenInvalidException>());
        }
示例#2
0
        public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            This.Action(() => cat.SearchDialogs("hello")).Throws <AccessTokenInvalidException>();
        }
示例#3
0
        public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            cat.SearchDialogs("hello");
        }