src/GenFx.Tests/CustomExternalPropertyValidatorAttributeTest.cs
/// <summary>
/// Tests that an exception is thrown when an invalid validator type is passed to the constructor.
/// </summary>
Tests that an exception is thrown when an invalid validator type is passed to the constructor.
Tests that an exception is thrown when an invalid validator type is passed to the constructor .
[Fact]
        public void CustomComponentValidatorAttribute_Ctor_InvalidValidatorType()
        {
            Assert.Throws<ArgumentException>(() => new CustomExternalPropertyValidatorAttribute(typeof(CustomComponent), nameof(CustomComponent.MyProperty), typeof(int)));
        }
[ Fact ] public void CustomComponentValidatorAttribute_Ctor_InvalidValidatorType ( ) { Assert . Throws < ArgumentException > ( ( ) => new CustomExternalPropertyValidatorAttribute ( typeof ( CustomComponent ) , nameof ( CustomComponent . MyProperty ) , typeof ( int ) ) ) ; }
Tests that an exception is thrown when an invalid validator type is passed to the constructor.
Tests that an exception is thrown when an invalid validator type is passed to the constructor .