Exemple #1
0
        public async Task GetCommentsAsyncShouldReturnAllComments()
        {
            using (var context = new MusicDBContext(options))
            {
                IMusicRepoDB _repo = new MusicRepoDB(context);

                var comments = await _repo.GetCommentsAsync();

                Assert.Equal(2, comments.Count);
            }
        }