public void testGetAllFollowersAsync() { int testUserId = 5; int expectedListLength = 6; Assert.AreEqual(expectedListLength, restAPIService.getAllFollowersAsync(testUserId).Result.Count); }
public async Task <List <FollowViewModel> > getAllFollowers(int userId) //receiving a list of FollowViewModel { return(await restAPIService.getAllFollowersAsync(userId)); }