src/GenFx.Tests/CustomExternalComponentValidatorAttributeTest.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 CustomExternalComponentValidatorAttribute(typeof(CustomComponent), typeof(int)));
        }
[ Fact ] public void CustomComponentValidatorAttribute_Ctor_InvalidValidatorType ( ) { Assert . Throws < ArgumentException > ( ( ) => new CustomExternalComponentValidatorAttribute ( typeof ( CustomComponent ) , 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 .