public void ShouldSetRuleIdDateToNowIfGivenNull() { TestData.RuleId = null; var subject = new Mapper_MatchingRuleDto_MatchingRule(new BucketBucketRepoAlwaysFind()); Result = subject.ToModel(TestData); Assert.IsFalse(Result.RuleId == default(Guid)); }
private MatchingRuleDto ArrangeAndAct() { var subject = new Mapper_MatchingRuleDto_MatchingRule(new BucketBucketRepoAlwaysFind()); return(subject.ToDto(TestData)); }
public void TestInitialise() { var subject = new Mapper_MatchingRuleDto_MatchingRule(new BucketBucketRepoAlwaysFind()); Result = Result = subject.ToDto(TestData); }