Пример #1
0
            public async Task UnfollowUser()
            {
                var userId = 700809;
                await FollowersEndpoint.Follow(userId);                // arrange following

                var result = await FollowersEndpoint.Unfollow(userId); // cleanup following

                Assert.True(result);
            }
Пример #2
0
            public async Task FollowUser()
            {
                var userId        = 690273;
                var userFollowing = await FollowersEndpoint.Follow(userId);

                await FollowersEndpoint.Unfollow(userId); // cleanup following

                Assert.NotNull(userFollowing);
                Assert.Equal(userFollowing.UserId, userId);
                Assert.Equal(userFollowing.FollowerId, UserId);
            }