// ReSharper disable once InconsistentNaming public async Task GetFullShowById_should_return_null_if_the_id_does_not_exists() { using (var context = CreateContext()) { await SeedGenresAsync(context); var repo = new ShowsRepository(context); var show = await repo.GetFullShowByIdAsync(10000); Assert.Null(show); } }
// ReSharper disable once InconsistentNaming public async Task GetFullShowById_should_return_full_show_by_id() { using (var context = CreateContext()) { await SeedGenresAsync(context); var repo = new ShowsRepository(context); var show = await repo.GetFullShowByIdAsync(2); Assert.Equal("Show2", show.Name); AssertIsFull(show); } }