예제 #1
0
        public void testGetAllFollowersAsync()
        {
            int testUserId         = 5;
            int expectedListLength = 6;

            Assert.AreEqual(expectedListLength, restAPIService.getAllFollowersAsync(testUserId).Result.Count);
        }
예제 #2
0
 public async Task <List <FollowViewModel> > getAllFollowers(int userId) //receiving a list of FollowViewModel
 {
     return(await restAPIService.getAllFollowersAsync(userId));
 }