src/GenFx.Tests/EnumValidatorTest.cs
/// <summary>
/// Tests that an exception is thrown when an invalid enum type is passed to the constructor.
/// </summary>
Tests that an exception is thrown when an invalid enum type is passed to the constructor.
Tests that an exception is thrown when an invalid enum type is passed to the constructor .
[Fact]
        public void EnumValidator_Ctor_NotEnumType()
        {
            Assert.Throws<ArgumentException>(() => new CustomEnumValidator(typeof(int)));
        }
[ Fact ] public void EnumValidator_Ctor_NotEnumType ( ) { Assert . Throws < ArgumentException > ( ( ) => new CustomEnumValidator ( typeof ( int ) ) ) ; }
Tests that an exception is thrown when an invalid enum type is passed to the constructor.
Tests that an exception is thrown when an invalid enum type is passed to the constructor .