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