Exemple #1
0
        public void ConstructEnumParameterAttribute_CheckEmptyValues()
        {
            var attribute = new EnumParameterAttribute("Port");

            Assert.IsFalse(attribute.AllowEmptyValues, "Allow empty values is not supported.");
        }
Exemple #2
0
        public void ConstructIntegerParameterAttribute_CheckName()
        {
            var attribute = new EnumParameterAttribute("Port");

            Assert.AreEqual("Port", attribute.ParameterName, "Incorrect parameter name.");
        }