public void ConfigurationRequirement_Int32_Success()
        {
            const string name        = "ConfigurationRequirementName";
            const string description = "Configuration requirement description.";
            const string badInput    = "Bad input";
            const int    goodInput   = 8675309;

            AssertUtil.Compare(
                name,
                description,
                ConfigurationRequirementType.Int32,
                () => ConfigurationRequirement.Int32(name, description),
                badInput,
                goodInput);
        }
        public void ConfigurationRequirement_Int32_PropagatesInfo()
        {
            const string name        = "ConfigurationRequirementName";
            const string description = "Configuration requirement description.";
            const bool   isOptional  = true;
            const string badInput    = "Bad input";

            int[] goodInput =
                new int[]
            {
                8675309
            };
            CollectionInfo collectionInfo = new CollectionInfo(1, 4);

            IEnumerable <IConfigurationRequirement> dependsOn =
                TestUtil.CreateIConfigurationRequirementCollection(3);
            IEnumerable <IConfigurationRequirement> exclusiveWith =
                TestUtil.CreateIConfigurationRequirementCollection(3);

            AssertUtil.Compare(
                name,
                description,
                ConfigurationRequirementType.Int32,
                isOptional,
                collectionInfo,
                dependsOn,
                exclusiveWith,
                () => ConfigurationRequirement.Int32(
                    name,
                    description,
                    isOptional,
                    collectionInfo,
                    dependsOn,
                    exclusiveWith),
                badInput,
                goodInput);
        }