src/GenFx.Tests/SettingValidatorAttributeTest.cs
/// <summary>
/// Tests that the constructor initializes the state correctly.
/// </summary>
Tests that the constructor initializes the state correctly.
Tests that the constructor initializes the state correctly .
[Fact]
        public void CustomValidatorAttribute_Ctor()
        {
            CustomPropertyValidatorAttribute attrib = new CustomPropertyValidatorAttribute(typeof(TestConfigurationValidator));
            Assert.Same(typeof(TestConfigurationValidator), attrib.ValidatorType);
            Assert.IsType<TestConfigurationValidator>(attrib.Validator);
        }
[ Fact ] public void CustomValidatorAttribute_Ctor ( ) { CustomPropertyValidatorAttribute attrib = new CustomPropertyValidatorAttribute ( typeof ( TestConfigurationValidator ) ) ; Assert . Same ( typeof ( TestConfigurationValidator ) , attrib . ValidatorType ) ; Assert . IsType < TestConfigurationValidator > ( attrib . Validator ) ; }
Tests that the constructor initializes the state correctly.
Tests that the constructor initializes the state correctly .