public AllowedDownloadSpecification(QualityAllowedByProfileSpecification qualityAllowedByProfileSpecification,
     UpgradeDiskSpecification upgradeDiskSpecification, AcceptableSizeSpecification acceptableSizeSpecification,
     AlreadyInQueueSpecification alreadyInQueueSpecification, RetentionSpecification retentionSpecification)
 {
     _qualityAllowedByProfileSpecification = qualityAllowedByProfileSpecification;
     _upgradeDiskSpecification = upgradeDiskSpecification;
     _acceptableSizeSpecification = acceptableSizeSpecification;
     _alreadyInQueueSpecification = alreadyInQueueSpecification;
     _retentionSpecification = retentionSpecification;
 }
 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;
 }
        public void Setup()
        {
            _qualityAllowedByProfile = Mocker.Resolve<QualityAllowedByProfileSpecification>();

            var fakeSeries = Builder<Series>.CreateNew()
                         .With(c => c.QualityProfile = new QualityProfile { Cutoff = QualityTypes.Bluray1080p })
                         .Build();

            parseResult = new EpisodeParseResult
            {
                Series = fakeSeries,
                Quality = new QualityModel(QualityTypes.DVD, true),
                EpisodeNumbers = new List<int> { 3 },
                SeasonNumber = 12,
            };
        }