Ejemplo n.º 1
0
        public void ConstructEnumParameterAttribute_CheckEmptyValues()
        {
            var attribute = new EnumParameterAttribute("Port");

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

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