src/GenFx.Tests/ExternalValidatorAttributeHelperTest.cs
/// <summary>
/// Tests that ValidateArgs method throws when an invalid target type is passed.
/// </summary>
Tests that ValidateArgs method throws when an invalid target type is passed.
Tests that ValidateArgs method throws when an invalid target type is passed .
[Fact]
        public void ExternalValidatorAttributeHelper_ValidateArgs_InvalidTargetType()
        {
            Assert.Throws<ArgumentException>(() => ExternalValidatorAttributeHelper.ValidateArguments(typeof(InvalidComponent), "Value"));
        }
[ Fact ] public void ExternalValidatorAttributeHelper_ValidateArgs_InvalidTargetType ( ) { Assert . Throws < ArgumentException > ( ( ) => ExternalValidatorAttributeHelper . ValidateArguments ( typeof ( InvalidComponent ) , " " ) ) ; }
Tests that ValidateArgs method throws when an invalid target type is passed.
Tests that ValidateArgs method throws when an invalid target type is passed .