src/GenFx.Components.Tests/ListEntityBaseTest.cs
/// <summary>
/// Tests that a validation exception is thrown when the entity has invalid starting lengths.
/// </summary>
Tests that a validation exception is thrown when the entity has invalid starting lengths.
Tests that a validation exception is thrown when the entity has invalid starting lengths .
[Fact]
        public void ListEntityBase_InvalidStartingLengths()
        {
            TestEntity entity = new TestEntity
            {
                MinimumStartingLength = 2,
                MaximumStartingLength = 1
            };
            Assert.Throws<ValidationException>(() => entity.Validate());
        }
[ Fact ] public void ListEntityBase_InvalidStartingLengths ( ) { TestEntity entity = new TestEntity { MinimumStartingLength = 2 , MaximumStartingLength = 1 } ; Assert . Throws < ValidationException > ( ( ) => entity . Validate ( ) ) ; }
Tests that a validation exception is thrown when the entity has invalid starting lengths.
Tests that a validation exception is thrown when the entity has invalid starting lengths .