public void UsersServiceCanRetrieveFollowersOnMe() { //Setup const string userId = "me"; var restSharpApiCaller = new RestSharpApiCaller(ACCESS_TOKEN); var usersService = new UsersService(restSharpApiCaller); //Execute var myFollowers = usersService.GetFollowers(userId); //Verify myFollowers.Data.ShouldNotBeNull(); myFollowers.Data.Count().ShouldBeGreaterThan(0); //Teardown }
public void UsersServiceCanRetrieveFollowersByUserId() { //Setup const string userId = "1"; //NOTE: This is @dalton's userId so it will take FOREVER to return, but it will return. var restSharpApiCaller = new RestSharpApiCaller(ACCESS_TOKEN); var usersService = new UsersService(restSharpApiCaller); //Execute var followers = usersService.GetFollowers(userId); //Verify followers.Data.ShouldNotBeNull(); followers.Data.Count().ShouldBeGreaterThan(0); //Teardown }