src/GenFx.Tests/CustomExternalComponentValidatorAttributeTest.cs
/// <summary>
/// Tests that an exception is thrown when an invalid component type is passed to the constructor.
/// </summary>
Tests that an exception is thrown when an invalid component type is passed to the constructor.
Tests that an exception is thrown when an invalid component type is passed to the constructor .
[Fact]
        public void CustomComponentValidatorAttribute_Ctor_InvalidComponentType()
        {
            Assert.Throws<ArgumentException>(() => new CustomExternalComponentValidatorAttribute(typeof(int), typeof(CustomValidator)));
        }
[ Fact ] public void CustomComponentValidatorAttribute_Ctor_InvalidComponentType ( ) { Assert . Throws < ArgumentException > ( ( ) => new CustomExternalComponentValidatorAttribute ( typeof ( int ) , typeof ( CustomValidator ) ) ) ; }
Tests that an exception is thrown when an invalid component type is passed to the constructor.
Tests that an exception is thrown when an invalid component type is passed to the constructor .