示例#1
0
        public void ToList_FullArtistPaging_ReturnsCorrectList()
        {
            var topArtistsPaging = GlobalTestInitializer.SpotifyApi.Spotify.GetUsersTopArtists();

            var topArtists = _artistsConverter.ToList(topArtistsPaging);

            Assert.AreEqual(topArtistsPaging.Items.Count, topArtists.Count);
        }
示例#2
0
        public List <FullArtist> GetFollowedArtists()
        {
            var followedArtistsPaging = _spotifyApi.Spotify.GetFollowedArtists(FollowType.Artist).Artists;

            return(_artistsConverter.ToList(followedArtistsPaging));
        }