BudgetAnalyser.Engine.UnitTest.Matching.DtoToMatchingRuleMapperTest.ShouldSetRuleIdDateToNowIfGivenNull C# (CSharp) Method

ShouldSetRuleIdDateToNowIfGivenNull() private method

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