public async Task GetSeriesData_SeriesMediaItem_NoSeriesLoaded_ReturnsFailed()
        {
            var embyItemData = SeriesEmbyItemData("Name", 56);

            _tvDbClient.GetSeriesAsync(56).Returns(Option <TvDbSeriesData> .None);

            var result = await _tvDbSource.GetSeriesData(embyItemData, TestProcessResultContext.Instance);

            result.IsLeft.Should().BeTrue();
            result.IfLeft(f => f.Reason.Should().Be("Failed to load parent series with TvDb Id '56'"));
        }
 public Task <Either <ProcessFailedResult, TvDbSeriesData> > GetSeriesData(int tvDbSeriesId,
                                                                           ProcessResultContext resultContext)
 {
     return(_tvDbClient.GetSeriesAsync(tvDbSeriesId)
            .ToEitherAsync(resultContext.Failed($"Failed to load parent series with TvDb Id '{tvDbSeriesId}'")));
 }