public async Task GetCommentByMusicIDAsyncShouldReturnComment() { using (var context = new MusicDBContext(options)) { IMusicRepoDB _repo = new MusicRepoDB(context); Comments testComment = new Comments(); testComment.Id = 1; testComment.Comment = "First Comment"; testComment.CommentData = DateTime.Parse("2021-03-15 18:17:00"); testComment.UserId = 2; testComment.UploadMusicId = 1; var foundComment = await _repo.GetCommentsByMusicIDAsync(1); Assert.Equal(1, testComment.Id); } }