Esempio n. 1
0
        public void testGetAllFollowingAsync()
        {
            int testUserId         = 5;
            int expectedListLength = 6;

            Assert.AreEqual(expectedListLength, restAPIService.getAllFollowingAsync(testUserId).Result.Count);
        }
Esempio n. 2
0
 public async Task <List <FollowViewModel> > getAllFollowing(int userId) //receiving a list of FollowViewModel
 {
     return(await restAPIService.getAllFollowingAsync(userId));
 }