src/GenFx.Tests/RequiredComponentTypeValidatorTest.cs
/// <summary>
/// Tests that an exception is thrown when passing an invalid component type to the ctor.
/// </summary>
Tests that an exception is thrown when passing an invalid component type to the ctor.
Tests that an exception is thrown when passing an invalid component type to the ctor .
[Fact]
        public void RequiredComponentTypeValidator_Ctor_InvalidComponentType()
        {
            Assert.Throws<ArgumentException>(() => new CustomValidator(typeof(int), typeof(GeneticEntity)));
        }
[ Fact ] public void RequiredComponentTypeValidator_Ctor_InvalidComponentType ( ) { Assert . Throws < ArgumentException > ( ( ) => new CustomValidator ( typeof ( int ) , typeof ( GeneticEntity ) ) ) ; }
Tests that an exception is thrown when passing an invalid component type to the ctor.
Tests that an exception is thrown when passing an invalid component type to the ctor .