BudgetAnalyser.Engine.UnitTest.Matching.DtoToMatchingRuleMapperTest.ShouldSetCreatedDateToNowIfGivenNull C# (CSharp) 메소드

ShouldSetCreatedDateToNowIfGivenNull() 개인적인 메소드

private ShouldSetCreatedDateToNowIfGivenNull ( ) : void
리턴 void
        public void ShouldSetCreatedDateToNowIfGivenNull()
        {
            TestData.Created = null;
            var subject = new Mapper_MatchingRuleDto_MatchingRule(new BucketBucketRepoAlwaysFind());
            Result = subject.ToModel(TestData);
            Assert.IsFalse(Result.Created == default(DateTime));
        }