public void FindAudioTrackPlaylistsByReferenceIds_Basic_Test() { BrightcoveItemCollection <BrightcoveAudioTrackPlaylist> playlists = _api.FindAudioTrackPlaylistsByReferenceIds(new[] { _refId, _refId2 }); Assert.NotNull(playlists); Assert.AreEqual(2, playlists.Count); Assert.AreEqual(1, playlists.Count(o => o != null)); // only _refId is a real reference Id in the system }
public void FindAudioTracksByPlaylistIds_Basic_Test() { _playlists = _api.FindAllAudioTrackPlaylists(1, 0); BrightcoveItemCollection <BrightcoveAudioTrackPlaylist> playlists = _api.FindAudioTrackPlaylistsByIds(new[] { _playlists.First().Id, long.MaxValue }); Assert.NotNull(playlists); Assert.AreEqual(2, playlists.Count); Assert.AreEqual(1, playlists.Count(o => o != null)); // only one playlist is in the system }