public void IsSupportedThrowsExceptionWithNullTypeTest()
        {
            var target = new CountValueGenerator();

            Action action = () => target.IsSupported(null, null, null);

            action.ShouldThrow<ArgumentNullException>();
        }
        public void IsSupportedEvaluatesRequestedTypeTest(Type type, bool isSupported, double min, double max)
        {
            var target = new CountValueGenerator();

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

            actual.Should().Be(isSupported);
        }
        public void IsSupportedReturnsTrueWhenReferenceNameIsCountTest(
            Type type,
            bool isSupported,
            double min,
            double max)
        {
            if (isSupported == false)
            {
                // Ignore this test
                return;
            }

            var target = new CountValueGenerator();

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

            actual.Should().BeTrue();
        }
        public void IsSupportedEvaluatesRequestedReferenceNameTest(string referenceName, bool isSupported)
        {
            var target = new CountValueGenerator();

            var actual = target.IsSupported(typeof(int), referenceName, null);

            actual.Should().Be(isSupported);
        }