public void TestGetPlaylistMultipleRequests() { var resourceList = new List <IPlaylist> { SoundCloudApiUnAuthenticated.Playlist(1), SoundCloudApiUnAuthenticated.Playlist(1), SoundCloudApiUnAuthenticated.Playlist(1), }; var users = SoundCloudApiUnAuthenticated.Execute(resourceList); Assert.AreEqual(3, users.Count); }
public void TestGetPlaylistHasCorrectNumberOfTracksRequest() { var playlist = SoundCloudApiUnAuthenticated.Playlist(1).Get(); Assert.AreEqual(playlist.TrackCount, playlist.Tracks.Count); }
public void TestGetPlaylistRequest() { var playlist = SoundCloudApiUnAuthenticated.Playlist(1).Get(); Assert.AreEqual(1, playlist.Id); }