public async Task ThrowsInvalidOperationExceptionIfPlaylistIsEmpty() { using (Library library = new LibraryBuilder().WithPlaylist().Build()) { await Helpers.ThrowsAsync<InvalidOperationException>(async () => await library.PlayPreviousSongAsync(library.LocalAccessControl.RegisterLocalAccessToken())); } }