public void RequiredEnumAttribute_Validate_Valid()
        {
            var objectWithEnum = new ObjectWithEnum()
            {
                Enum = FilledEnum.Item1
            };

            Assert.Empty(ValidateModel(objectWithEnum));
        }
        public void RequiredEnumAttribute_Validate_Invalid()
        {
            int invalidEnumIndex = -1;
            var enumValue        = (FilledEnum)invalidEnumIndex;

            var objectWithEnum = new ObjectWithEnum()
            {
                Enum = enumValue
            };

            Assert.Single(ValidateModel(objectWithEnum));
        }