PropertyDefinitionSimple alpha = def.getPropertyDefinitionSimple("alpha");
assert alpha.getType() == PropertySimpleType.STRING;
assert alpha.isRequired();
assert alpha.getConstraints().size() == 1;
RegexConstraint regexConstraint = (RegexConstraint) alpha.getConstraints().iterator().next();
assert regexConstraint.getDetails().equals("^\\w+@[a-zA-Z_]+?\\.[a-zA-Z]{2,3}$");
PropertyDefinitionSimple bravo = def.getPropertyDefinitionSimple("bravo");
assert bravo.getType() == PropertySimpleType.STRING;
assert bravo.getEnumeratedValues().size() == 4;
assert bravo.getEnumeratedValues().get(0).getName().equals("First Option Name");