Пример #1
0
        public void BroadcastOnlyRuleTest()
        {
            var result = validationBuilderObj.BroadcastOnlyRule(validationMessage, validationFieldObj);

            result.FieldPath.Should().Be("Offenses");
            result.SectionName.Should().Be("Events");
            result.Message.Should().Be("Message");
            result.ValidationId.Should().Be("Message");
            result.SelfValidation.Should().Be(false);
            result.TargetPath.Should().Be("Events");
            result.ValidationReBroadcast.Should().Be(true);
        }