public async Task GetMusicPlaylistByIDAsyncShouldReturnMusicPlaylist() { using (var context = new MusicDBContext(options)) { IMusicRepoDB _repo = new MusicRepoDB(context); MusicPlaylist testMusicPlaylist = new MusicPlaylist(); testMusicPlaylist.Id = 4; testMusicPlaylist.PlayListId = 2; testMusicPlaylist.MusicId = 1; var newMusicPlaylist = await _repo.AddMusicPlaylistAsync(testMusicPlaylist); var foundMusicPlaylist = await _repo.GetMusicPlaylistByIDAsync(4); Assert.NotNull(foundMusicPlaylist); Assert.Equal(4, foundMusicPlaylist.Id); } }