BudgetAnalyser.Engine.UnitTest.Matching.DtoToMatchingRuleMapperTest.ShouldSetRuleIdDateToNowIfGivenNull C# (CSharp) Méthode

ShouldSetRuleIdDateToNowIfGivenNull() private méthode

private ShouldSetRuleIdDateToNowIfGivenNull ( ) : void
Résultat 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));
        }