Example #1
0
        public async Task GetAllSongsAsync_ShouldReturnNotNull()
        {
            //Arrange

            //Act
            var result = await _controller.GetAllAsync();

            List <Song> songs = result.ToList();

            //Assert
            Assert.IsNotNull(songs);
            Assert.AreEqual(songs.Count, GetTestSongs().ToList().Count);
        }