public async Task GetByGenres() { IEnumerable <IGenreWithRadios> genres = await _radio.GetByGenres(); Assert.IsNotNull(genres, nameof(genres)); IRadio oneRadio = genres.First().Radios.First(); IEnumerable <ITrack> tracks = oneRadio.GetFirst40Tracks() .GetAwaiter().GetResult(); Assert.AreEqual(40, tracks.Count(), "Count"); }