2018-10-20 20:27:51 +00:00
|
|
|
using System.Collections.Generic;
|
2013-04-07 07:30:37 +00:00
|
|
|
using System.Linq;
|
2013-03-07 03:45:36 +00:00
|
|
|
using FluentAssertions;
|
2012-02-07 05:08:07 +00:00
|
|
|
using Moq;
|
|
|
|
using NUnit.Framework;
|
2013-02-19 02:19:38 +00:00
|
|
|
using NzbDrone.Core.DecisionEngine;
|
2013-09-15 03:49:58 +00:00
|
|
|
using NzbDrone.Core.IndexerSearch.Definitions;
|
2013-04-15 01:41:39 +00:00
|
|
|
using NzbDrone.Core.Parser;
|
|
|
|
using NzbDrone.Core.Parser.Model;
|
2012-02-07 05:08:07 +00:00
|
|
|
using NzbDrone.Core.Test.Framework;
|
2013-04-28 19:46:13 +00:00
|
|
|
using NzbDrone.Core.Tv;
|
2013-04-30 03:43:05 +00:00
|
|
|
using NzbDrone.Test.Common;
|
2014-03-30 11:50:17 +00:00
|
|
|
using FizzWare.NBuilder;
|
2019-03-05 08:30:37 +00:00
|
|
|
using NzbDrone.Core.DataAugmentation.Scene;
|
2018-10-20 20:27:51 +00:00
|
|
|
using NzbDrone.Core.DecisionEngine.Specifications;
|
2012-02-07 05:08:07 +00:00
|
|
|
|
2013-02-19 02:19:38 +00:00
|
|
|
namespace NzbDrone.Core.Test.DecisionEngineTests
|
2012-02-07 05:08:07 +00:00
|
|
|
{
|
|
|
|
[TestFixture]
|
2013-06-28 20:23:41 +00:00
|
|
|
public class DownloadDecisionMakerFixture : CoreTest<DownloadDecisionMaker>
|
2012-02-07 05:08:07 +00:00
|
|
|
{
|
2013-09-13 23:17:58 +00:00
|
|
|
private List<ReleaseInfo> _reports;
|
2013-04-15 01:41:39 +00:00
|
|
|
private RemoteEpisode _remoteEpisode;
|
2012-02-07 05:08:07 +00:00
|
|
|
|
2013-04-07 07:30:37 +00:00
|
|
|
private Mock<IDecisionEngineSpecification> _pass1;
|
|
|
|
private Mock<IDecisionEngineSpecification> _pass2;
|
|
|
|
private Mock<IDecisionEngineSpecification> _pass3;
|
2013-01-16 01:36:02 +00:00
|
|
|
|
2013-04-07 07:30:37 +00:00
|
|
|
private Mock<IDecisionEngineSpecification> _fail1;
|
|
|
|
private Mock<IDecisionEngineSpecification> _fail2;
|
|
|
|
private Mock<IDecisionEngineSpecification> _fail3;
|
2012-02-07 05:08:07 +00:00
|
|
|
|
2017-03-11 18:49:32 +00:00
|
|
|
private Mock<IDecisionEngineSpecification> _failDelayed1;
|
|
|
|
|
2013-03-07 01:51:47 +00:00
|
|
|
[SetUp]
|
|
|
|
public void Setup()
|
2012-02-07 05:08:07 +00:00
|
|
|
{
|
2013-04-07 07:30:37 +00:00
|
|
|
_pass1 = new Mock<IDecisionEngineSpecification>();
|
|
|
|
_pass2 = new Mock<IDecisionEngineSpecification>();
|
|
|
|
_pass3 = new Mock<IDecisionEngineSpecification>();
|
2012-02-07 05:08:07 +00:00
|
|
|
|
2013-04-07 07:30:37 +00:00
|
|
|
_fail1 = new Mock<IDecisionEngineSpecification>();
|
|
|
|
_fail2 = new Mock<IDecisionEngineSpecification>();
|
|
|
|
_fail3 = new Mock<IDecisionEngineSpecification>();
|
2012-02-07 05:08:07 +00:00
|
|
|
|
2017-03-11 18:49:32 +00:00
|
|
|
_failDelayed1 = new Mock<IDecisionEngineSpecification>();
|
|
|
|
|
2014-10-27 05:51:50 +00:00
|
|
|
_pass1.Setup(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null)).Returns(Decision.Accept);
|
|
|
|
_pass2.Setup(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null)).Returns(Decision.Accept);
|
|
|
|
_pass3.Setup(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null)).Returns(Decision.Accept);
|
2017-03-11 18:49:32 +00:00
|
|
|
|
2014-10-27 05:51:50 +00:00
|
|
|
_fail1.Setup(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null)).Returns(Decision.Reject("fail1"));
|
|
|
|
_fail2.Setup(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null)).Returns(Decision.Reject("fail2"));
|
|
|
|
_fail3.Setup(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null)).Returns(Decision.Reject("fail3"));
|
2012-02-07 05:08:07 +00:00
|
|
|
|
2017-03-11 18:49:32 +00:00
|
|
|
_failDelayed1.Setup(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null)).Returns(Decision.Reject("failDelayed1"));
|
|
|
|
_failDelayed1.SetupGet(c => c.Priority).Returns(SpecificationPriority.Disk);
|
|
|
|
|
2013-09-13 23:17:58 +00:00
|
|
|
_reports = new List<ReleaseInfo> { new ReleaseInfo { Title = "The.Office.S03E115.DVDRip.XviD-OSiTV" } };
|
2015-02-10 23:22:08 +00:00
|
|
|
_remoteEpisode = new RemoteEpisode {
|
|
|
|
Series = new Series(),
|
|
|
|
Episodes = new List<Episode> { new Episode() }
|
|
|
|
};
|
2013-04-15 01:41:39 +00:00
|
|
|
|
2013-09-15 03:49:58 +00:00
|
|
|
Mocker.GetMock<IParsingService>()
|
2015-09-26 08:45:13 +00:00
|
|
|
.Setup(c => c.Map(It.IsAny<ParsedEpisodeInfo>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<SearchCriteriaBase>()))
|
2013-04-15 01:41:39 +00:00
|
|
|
.Returns(_remoteEpisode);
|
2012-09-19 15:13:26 +00:00
|
|
|
}
|
|
|
|
|
2013-04-07 07:30:37 +00:00
|
|
|
private void GivenSpecifications(params Mock<IDecisionEngineSpecification>[] mocks)
|
2013-03-07 03:45:36 +00:00
|
|
|
{
|
2014-02-22 08:59:05 +00:00
|
|
|
Mocker.SetConstant<IEnumerable<IDecisionEngineSpecification>>(mocks.Select(c => c.Object));
|
2013-03-07 03:45:36 +00:00
|
|
|
}
|
|
|
|
|
2012-02-07 05:08:07 +00:00
|
|
|
[Test]
|
2013-03-07 01:51:47 +00:00
|
|
|
public void should_call_all_specifications()
|
2012-02-07 05:08:07 +00:00
|
|
|
{
|
2013-03-07 03:45:36 +00:00
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3, _fail1, _fail2, _fail3);
|
|
|
|
|
2013-04-15 01:41:39 +00:00
|
|
|
Subject.GetRssDecision(_reports).ToList();
|
2013-03-07 03:45:36 +00:00
|
|
|
|
2013-08-07 03:18:05 +00:00
|
|
|
_fail1.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Once());
|
|
|
|
_fail2.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Once());
|
|
|
|
_fail3.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Once());
|
|
|
|
_pass1.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Once());
|
|
|
|
_pass2.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Once());
|
|
|
|
_pass3.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Once());
|
2013-03-07 03:45:36 +00:00
|
|
|
}
|
|
|
|
|
2017-03-11 18:49:32 +00:00
|
|
|
[Test]
|
|
|
|
public void should_call_delayed_specifications_if_non_delayed_passed()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _failDelayed1);
|
|
|
|
|
|
|
|
Subject.GetRssDecision(_reports).ToList();
|
|
|
|
_failDelayed1.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Once());
|
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_not_call_delayed_specifications_if_non_delayed_failed()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_fail1, _failDelayed1);
|
|
|
|
|
|
|
|
Subject.GetRssDecision(_reports).ToList();
|
|
|
|
|
|
|
|
_failDelayed1.Verify(c => c.IsSatisfiedBy(_remoteEpisode, null), Times.Never());
|
|
|
|
}
|
|
|
|
|
2013-04-29 01:47:06 +00:00
|
|
|
[Test]
|
|
|
|
public void should_return_rejected_if_single_specs_fail()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_fail1);
|
|
|
|
|
|
|
|
var result = Subject.GetRssDecision(_reports);
|
|
|
|
|
|
|
|
result.Single().Approved.Should().BeFalse();
|
|
|
|
}
|
|
|
|
|
2013-03-07 03:45:36 +00:00
|
|
|
[Test]
|
|
|
|
public void should_return_rejected_if_one_of_specs_fail()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _fail1, _pass2, _pass3);
|
|
|
|
|
2013-04-15 01:41:39 +00:00
|
|
|
var result = Subject.GetRssDecision(_reports);
|
2013-03-07 03:45:36 +00:00
|
|
|
|
2013-04-07 07:30:37 +00:00
|
|
|
result.Single().Approved.Should().BeFalse();
|
2013-03-07 03:45:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_return_pass_if_all_specs_pass()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
|
|
|
|
2013-04-15 01:41:39 +00:00
|
|
|
var result = Subject.GetRssDecision(_reports);
|
2013-03-07 03:45:36 +00:00
|
|
|
|
2013-04-07 07:30:37 +00:00
|
|
|
result.Single().Approved.Should().BeTrue();
|
2013-03-07 03:45:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_have_same_number_of_rejections_as_specs_that_failed()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3, _fail1, _fail2, _fail3);
|
|
|
|
|
2013-04-15 01:41:39 +00:00
|
|
|
var result = Subject.GetRssDecision(_reports);
|
2013-04-07 07:30:37 +00:00
|
|
|
result.Single().Rejections.Should().HaveCount(3);
|
|
|
|
}
|
|
|
|
|
2013-04-28 00:25:28 +00:00
|
|
|
[Test]
|
2013-04-28 19:46:13 +00:00
|
|
|
public void should_not_attempt_to_map_episode_if_not_parsable()
|
2013-04-28 00:25:28 +00:00
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
2013-04-28 19:46:13 +00:00
|
|
|
_reports[0].Title = "Not parsable";
|
2013-04-28 00:25:28 +00:00
|
|
|
|
|
|
|
var results = Subject.GetRssDecision(_reports).ToList();
|
|
|
|
|
2015-09-26 08:45:13 +00:00
|
|
|
Mocker.GetMock<IParsingService>().Verify(c => c.Map(It.IsAny<ParsedEpisodeInfo>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<SearchCriteriaBase>()), Times.Never());
|
2013-04-28 19:46:13 +00:00
|
|
|
|
2013-08-07 03:18:05 +00:00
|
|
|
_pass1.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
|
|
|
_pass2.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
|
|
|
_pass3.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
2013-04-28 00:25:28 +00:00
|
|
|
|
|
|
|
results.Should().BeEmpty();
|
2013-04-28 19:46:13 +00:00
|
|
|
}
|
|
|
|
|
2014-03-30 11:50:17 +00:00
|
|
|
[Test]
|
|
|
|
public void should_not_attempt_to_map_episode_series_title_is_blank()
|
2013-06-28 20:23:41 +00:00
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
|
|
|
_reports[0].Title = "1937 - Snow White and the Seven Dwarves";
|
|
|
|
|
|
|
|
var results = Subject.GetRssDecision(_reports).ToList();
|
|
|
|
|
2015-09-26 08:45:13 +00:00
|
|
|
Mocker.GetMock<IParsingService>().Verify(c => c.Map(It.IsAny<ParsedEpisodeInfo>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<SearchCriteriaBase>()), Times.Never());
|
2013-06-28 20:23:41 +00:00
|
|
|
|
2013-08-07 03:18:05 +00:00
|
|
|
_pass1.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
|
|
|
_pass2.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
|
|
|
_pass3.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
2013-06-28 20:23:41 +00:00
|
|
|
|
|
|
|
results.Should().BeEmpty();
|
|
|
|
}
|
|
|
|
|
2013-04-28 19:46:13 +00:00
|
|
|
[Test]
|
2013-06-28 20:23:41 +00:00
|
|
|
public void should_not_attempt_to_make_decision_if_series_is_unknown()
|
2013-04-28 19:46:13 +00:00
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
|
|
|
|
|
|
|
_remoteEpisode.Series = null;
|
|
|
|
|
|
|
|
Subject.GetRssDecision(_reports);
|
|
|
|
|
2013-08-07 03:18:05 +00:00
|
|
|
_pass1.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
|
|
|
_pass2.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
|
|
|
_pass3.Verify(c => c.IsSatisfiedBy(It.IsAny<RemoteEpisode>(), null), Times.Never());
|
2013-04-28 19:46:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
2013-04-30 03:43:05 +00:00
|
|
|
public void broken_report_shouldnt_blowup_the_process()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1);
|
|
|
|
|
2015-09-26 08:45:13 +00:00
|
|
|
Mocker.GetMock<IParsingService>().Setup(c => c.Map(It.IsAny<ParsedEpisodeInfo>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<SearchCriteriaBase>()))
|
2013-04-30 03:43:05 +00:00
|
|
|
.Throws<TestException>();
|
|
|
|
|
2013-09-13 23:17:58 +00:00
|
|
|
_reports = new List<ReleaseInfo>
|
2013-04-30 03:43:05 +00:00
|
|
|
{
|
2013-09-13 23:17:58 +00:00
|
|
|
new ReleaseInfo{Title = "The.Office.S03E115.DVDRip.XviD-OSiTV"},
|
|
|
|
new ReleaseInfo{Title = "The.Office.S03E115.DVDRip.XviD-OSiTV"},
|
|
|
|
new ReleaseInfo{Title = "The.Office.S03E115.DVDRip.XviD-OSiTV"}
|
2013-04-30 03:43:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
Subject.GetRssDecision(_reports);
|
|
|
|
|
2015-09-26 08:45:13 +00:00
|
|
|
Mocker.GetMock<IParsingService>().Verify(c => c.Map(It.IsAny<ParsedEpisodeInfo>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<SearchCriteriaBase>()), Times.Exactly(_reports.Count));
|
2013-04-30 03:43:05 +00:00
|
|
|
|
|
|
|
ExceptionVerification.ExpectedErrors(3);
|
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
2013-07-06 21:47:49 +00:00
|
|
|
public void should_return_unknown_series_rejection_if_series_is_unknown()
|
2013-04-28 19:46:13 +00:00
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
|
|
|
|
|
|
|
_remoteEpisode.Series = null;
|
|
|
|
|
|
|
|
var result = Subject.GetRssDecision(_reports);
|
|
|
|
|
|
|
|
result.Should().HaveCount(1);
|
2013-04-28 00:25:28 +00:00
|
|
|
}
|
2014-03-30 11:50:17 +00:00
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_only_include_reports_for_requested_episodes()
|
|
|
|
{
|
|
|
|
var series = Builder<Series>.CreateNew().Build();
|
|
|
|
|
|
|
|
var episodes = Builder<Episode>.CreateListOfSize(2)
|
|
|
|
.All()
|
|
|
|
.With(v => v.SeriesId, series.Id)
|
|
|
|
.With(v => v.Series, series)
|
|
|
|
.With(v => v.SeasonNumber, 1)
|
|
|
|
.With(v => v.SceneSeasonNumber, 2)
|
|
|
|
.BuildList();
|
|
|
|
|
|
|
|
var criteria = new SeasonSearchCriteria { Episodes = episodes.Take(1).ToList(), SeasonNumber = 1 };
|
|
|
|
|
2017-03-11 18:49:32 +00:00
|
|
|
var reports = episodes.Select(v =>
|
|
|
|
new ReleaseInfo()
|
|
|
|
{
|
|
|
|
Title = string.Format("{0}.S{1:00}E{2:00}.720p.WEB-DL-DRONE", series.Title, v.SceneSeasonNumber, v.SceneEpisodeNumber)
|
2014-03-30 11:50:17 +00:00
|
|
|
}).ToList();
|
|
|
|
|
|
|
|
Mocker.GetMock<IParsingService>()
|
2015-09-26 08:45:13 +00:00
|
|
|
.Setup(v => v.Map(It.IsAny<ParsedEpisodeInfo>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<SearchCriteriaBase>()))
|
|
|
|
.Returns<ParsedEpisodeInfo, int, int, SearchCriteriaBase>((p,tvdbid,tvrageid,c) =>
|
2014-03-30 11:50:17 +00:00
|
|
|
new RemoteEpisode
|
|
|
|
{
|
|
|
|
DownloadAllowed = true,
|
|
|
|
ParsedEpisodeInfo = p,
|
|
|
|
Series = series,
|
|
|
|
Episodes = episodes.Where(v => v.SceneEpisodeNumber == p.EpisodeNumbers.First()).ToList()
|
|
|
|
});
|
|
|
|
|
2014-04-01 19:39:17 +00:00
|
|
|
Mocker.SetConstant<IEnumerable<IDecisionEngineSpecification>>(new List<IDecisionEngineSpecification>
|
|
|
|
{
|
|
|
|
Mocker.Resolve<NzbDrone.Core.DecisionEngine.Specifications.Search.EpisodeRequestedSpecification>()
|
|
|
|
});
|
2014-03-30 11:50:17 +00:00
|
|
|
|
|
|
|
var decisions = Subject.GetSearchDecision(reports, criteria);
|
|
|
|
|
2014-04-01 19:39:17 +00:00
|
|
|
var approvedDecisions = decisions.Where(v => v.Approved).ToList();
|
|
|
|
|
|
|
|
approvedDecisions.Count.Should().Be(1);
|
2014-03-30 11:50:17 +00:00
|
|
|
}
|
2015-02-10 23:22:08 +00:00
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_not_allow_download_if_series_is_unknown()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
|
|
|
|
|
|
|
_remoteEpisode.Series = null;
|
|
|
|
|
|
|
|
var result = Subject.GetRssDecision(_reports);
|
|
|
|
|
|
|
|
result.Should().HaveCount(1);
|
|
|
|
|
|
|
|
result.First().RemoteEpisode.DownloadAllowed.Should().BeFalse();
|
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_not_allow_download_if_no_episodes_found()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
|
|
|
|
|
|
|
_remoteEpisode.Episodes = new List<Episode>();
|
|
|
|
|
|
|
|
var result = Subject.GetRssDecision(_reports);
|
|
|
|
|
|
|
|
result.Should().HaveCount(1);
|
|
|
|
|
|
|
|
result.First().RemoteEpisode.DownloadAllowed.Should().BeFalse();
|
|
|
|
}
|
2016-04-17 21:17:46 +00:00
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_return_a_decision_when_exception_is_caught()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1);
|
|
|
|
|
|
|
|
Mocker.GetMock<IParsingService>().Setup(c => c.Map(It.IsAny<ParsedEpisodeInfo>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<SearchCriteriaBase>()))
|
|
|
|
.Throws<TestException>();
|
|
|
|
|
|
|
|
_reports = new List<ReleaseInfo>
|
|
|
|
{
|
|
|
|
new ReleaseInfo{Title = "The.Office.S03E115.DVDRip.XviD-OSiTV"},
|
|
|
|
};
|
|
|
|
|
|
|
|
Subject.GetRssDecision(_reports).Should().HaveCount(1);
|
|
|
|
|
|
|
|
ExceptionVerification.ExpectedErrors(1);
|
|
|
|
}
|
2019-03-05 08:30:37 +00:00
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void should_return_unknown_series_rejection_if_series_title_is_an_alias_for_another_series()
|
|
|
|
{
|
|
|
|
GivenSpecifications(_pass1, _pass2, _pass3);
|
|
|
|
|
|
|
|
Mocker.GetMock<ISceneMappingService>()
|
|
|
|
.Setup(s => s.FindTvdbId(It.IsAny<string>(), It.IsAny<string>()))
|
|
|
|
.Returns(12345);
|
|
|
|
|
|
|
|
_remoteEpisode.Series = null;
|
|
|
|
|
|
|
|
var result = Subject.GetRssDecision(_reports);
|
|
|
|
|
|
|
|
result.Should().HaveCount(1);
|
|
|
|
result.First().Rejections.First().Reason.Should().Contain("12345");
|
|
|
|
}
|
2012-02-07 05:08:07 +00:00
|
|
|
}
|
2017-03-11 18:49:32 +00:00
|
|
|
}
|