public void Setup()
        {
            _customStartDateSpecification = Mocker.Resolve<CustomStartDateSpecification>();

            firstEpisode = new Episode { AirDate = DateTime.Today };
            secondEpisode = new Episode { AirDate = DateTime.Today };

            fakeSeries = Builder<Series>.CreateNew()
                .With(c => c.Monitored = true)
                .With(c => c.CustomStartDate = null)
                .Build();

            parseResultMulti = new EpisodeParseResult
            {
                SeriesTitle = "Title",
                Series = fakeSeries,
                EpisodeNumbers = new List<int> { 3, 4 },
                SeasonNumber = 12,
                Episodes = new List<Episode> { firstEpisode, secondEpisode }
            };

            parseResultSingle = new EpisodeParseResult
            {
                SeriesTitle = "Title",
                Series = fakeSeries,
                EpisodeNumbers = new List<int> { 3 },
                SeasonNumber = 12,
                Episodes = new List<Episode> { firstEpisode }
            };
        }
 public AllowedDownloadSpecification(QualityAllowedByProfileSpecification qualityAllowedByProfileSpecification,
     UpgradeDiskSpecification upgradeDiskSpecification, AcceptableSizeSpecification acceptableSizeSpecification,
     AlreadyInQueueSpecification alreadyInQueueSpecification, RetentionSpecification retentionSpecification,
     AllowedReleaseGroupSpecification allowedReleaseGroupSpecification, CustomStartDateSpecification customStartDateSpecification,
     LanguageSpecification languageSpecification)
 {
     _qualityAllowedByProfileSpecification = qualityAllowedByProfileSpecification;
     _upgradeDiskSpecification = upgradeDiskSpecification;
     _acceptableSizeSpecification = acceptableSizeSpecification;
     _alreadyInQueueSpecification = alreadyInQueueSpecification;
     _retentionSpecification = retentionSpecification;
     _allowedReleaseGroupSpecification = allowedReleaseGroupSpecification;
     _customStartDateSpecification = customStartDateSpecification;
     _languageSpecification = languageSpecification;
 }
 public AllowedDownloadSpecification(QualityAllowedByProfileSpecification qualityAllowedByProfileSpecification,
                                     UpgradeDiskSpecification upgradeDiskSpecification, AcceptableSizeSpecification acceptableSizeSpecification,
                                     AlreadyInQueueSpecification alreadyInQueueSpecification, RetentionSpecification retentionSpecification,
                                     AllowedReleaseGroupSpecification allowedReleaseGroupSpecification, CustomStartDateSpecification customStartDateSpecification,
                                     LanguageSpecification languageSpecification)
 {
     _qualityAllowedByProfileSpecification = qualityAllowedByProfileSpecification;
     _upgradeDiskSpecification             = upgradeDiskSpecification;
     _acceptableSizeSpecification          = acceptableSizeSpecification;
     _alreadyInQueueSpecification          = alreadyInQueueSpecification;
     _retentionSpecification           = retentionSpecification;
     _allowedReleaseGroupSpecification = allowedReleaseGroupSpecification;
     _customStartDateSpecification     = customStartDateSpecification;
     _languageSpecification            = languageSpecification;
 }