Пример #1
0
        public void GetAppUsers_EmptyAccessToken_ThrowAccessTokenInvalidException()
        {
            var cat = new FriendsCategory(new VkApi());

            Assert.That(() => cat.GetAppUsers(), Throws.InstanceOf <AccessTokenInvalidException>());
        }
Пример #2
0
        public void GetAppUsers_EmptyAccessToken_ThrowAccessTokenInvalidException()
        {
            var friendsCategory = new FriendsCategory(new VkApi());

            This.Action(() => friendsCategory.GetAppUsers()).Throws <AccessTokenInvalidException>();
        }
Пример #3
0
        public void GetAppUsers_EmptyAccessToken_ThrowAccessTokenInvalidException()
        {
            var f = new FriendsCategory(new VkApi());

            f.GetAppUsers();
        }