public async Task Test_ListPlaylists_CurrentUserAddable() { var request = new PlaylistsRequest() { PlaylistType = PlaylistType.CurrentUserAddable }; var items = await _client.ListPlaylistsAsync(request); Assert.IsNotNull(items?.Items); Assert.IsTrue(items?.Items.Count > 0); }
public async Task Test_ListPlaylists_Featured() { var request = new PlaylistsRequest() { PlaylistType = PlaylistType.Featured }; var items = await _client.ListPlaylistsAsync(request); Assert.IsNotNull(items?.Items); Assert.IsTrue(items?.Items.Count > 0); var more = await _client.ListPlaylistsAsync(items); Assert.IsNotNull(more?.Items); Assert.IsTrue(more?.Items.Count > 0); }
public async Task Test_ListPlaylists_CategoriesPlaylists() { var request = new PlaylistsRequest() { PlaylistType = PlaylistType.Category, Value = "mood" }; var items = await _client.ListPlaylistsAsync(request); Assert.IsNotNull(items?.Items); Assert.IsTrue(items?.Items.Count > 0); var more = await _client.ListPlaylistsAsync(items); Assert.IsNotNull(more?.Items); Assert.IsTrue(more?.Items.Count > 0); }
public async Task Test_ListPlaylists_Search() { var request = new PlaylistsRequest() { PlaylistType = PlaylistType.Search, Value = "Chill" }; var items = await _client.ListPlaylistsAsync(request); Assert.IsNotNull(items?.Items); Assert.IsTrue(items?.Items.Count > 0); var more = await _client.ListPlaylistsAsync(items); Assert.IsNotNull(more?.Items); Assert.IsTrue(more?.Items.Count > 0); }
public async Task Test_ListPlaylists_User_Spotify() { var request = new PlaylistsRequest() { PlaylistType = PlaylistType.User, Value = "spotify" }; var items = await _client.ListPlaylistsAsync(request); Assert.IsNotNull(items?.Items); Assert.IsTrue(items?.Items.Count > 0); var more = await _client.ListPlaylistsAsync(items); Assert.IsNotNull(more?.Items); Assert.IsTrue(more?.Items.Count > 0); }