public async void TestCreateSongAsync() { var request = new SongDto { AlbumId = Guid.Parse("0f078d0e-6602-4375-a088-ab8d00facdd1"), Number = 5, Name = "Is It Just Me", Time = new TimeSpan(00, 03, 37), SongPriceId = Guid.Parse("1b178d0e-6602-4375-a088-ab8d00facbb1"), Popularity = 30, }; var data = await _albumsController.CreateSongAsync(request); Assert.IsAssignableFrom <SongDto>(data); bool IsValid = data.ErrorMessage == null ? true : false; Assert.True(IsValid); }