Пример #1
0
        public void Delete_NormalCase()
        {
            const string url  = "https://api.vk.com/method/friends.delete?user_id=24250&access_token=token";
            const string json =
                @"{
                    'response': 2
                  }";

            FriendsCategory cat = GetMockedFriendsCategory(url, json);

            DeleteFriendStatus status = cat.Delete(24250);

            Assert.That(status, Is.EqualTo(DeleteFriendStatus.RequestRejected));
        }