public void ToList_FullArtistPaging_ReturnsCorrectList() { var topArtistsPaging = GlobalTestInitializer.SpotifyApi.Spotify.GetUsersTopArtists(); var topArtists = _artistsConverter.ToList(topArtistsPaging); Assert.AreEqual(topArtistsPaging.Items.Count, topArtists.Count); }
public List <FullArtist> GetFollowedArtists() { var followedArtistsPaging = _spotifyApi.Spotify.GetFollowedArtists(FollowType.Artist).Artists; return(_artistsConverter.ToList(followedArtistsPaging)); }