private static final QName[] REQUIRED_NODE_TYPES = new QName[]{REQUIRED_NODE_TYPE_1, REQUIRED_NODE_TYPE_2};
private NodeTypeDef modelNodeTypeDef;
protected void setUp() throws Exception {
NamespaceMapping namespaceMapping = new NamespaceMapping();
namespaceMapping.setMapping(NS_PREFIX, NS_URI);
InternalValue dv1 = InternalValue.create(DEFAULT_VALUE_1);
InternalValue dv2 = InternalValue.create(DEFAULT_VALUE_2);
ValueConstraint vc = ValueConstraint.create(PropertyType.LONG, VALUE_CONSTRAINT, namespaceMapping);
InternalValue[] defaultValues = new InternalValue[]{dv1, dv2};
ValueConstraint[] valueConstraints = new ValueConstraint[]{vc};