ModelBuilder.UnitTests.AgeValueGeneratorTests.IsSupportedReturnsTrueWhenReferenceNameIncludesAgeTest C# (CSharp) Method

IsSupportedReturnsTrueWhenReferenceNameIncludesAgeTest() private method

private IsSupportedReturnsTrueWhenReferenceNameIncludesAgeTest ( Type type, bool typeSupported, double min, double max ) : void
type System.Type
typeSupported bool
min double
max double
return void
        public void IsSupportedReturnsTrueWhenReferenceNameIncludesAgeTest(Type type, bool typeSupported, double min,
            double max)
        {
            if (typeSupported == false)
            {
                // Ignore this test
                return;
            }

            var target = new AgeValueGenerator();

            var actual = target.IsSupported(type, "SomeAgeValue", null);

            actual.Should().BeTrue();
        }