src/GenFx.Tests/RequiredComponentTypeAttributeTest.cs
/// <summary>
/// Tests that an exception is thrown if the required type is not a type of the base type.
/// </summary>
Tests that an exception is thrown if the required type is not a type of the base type.
Tests that an exception is thrown if the required type is not a type of the base type .
[Fact]
        public void RequiredConfigurableTypeAttribute_Ctor_InvalidType()
        {
            Assert.Throws<ArgumentException>(() => new TestRequiredComponentTypeAttribute(typeof(MockSelectionOperator), typeof(CrossoverOperator)));
        }
[ Fact ] public void RequiredConfigurableTypeAttribute_Ctor_InvalidType ( ) { Assert . Throws < ArgumentException > ( ( ) => new TestRequiredComponentTypeAttribute ( typeof ( MockSelectionOperator ) , typeof ( CrossoverOperator ) ) ) ; }
Tests that an exception is thrown if the required type is not a type of the base type.
Tests that an exception is thrown if the required type is not a type of the base type .