* the node type for the new child node.
*/
private Property createProperty(int propertyType, boolean multiple) throws RepositoryException, NotExecutableException {
Node n = testRootNode.addNode(nodeName1, testNodeType);
if (propertyType == PropertyType.REFERENCE && !n.isNodeType(mixReferenceable)) {
if (!n.canAddMixin(mixReferenceable)) {
throw new NotExecutableException(testNodeType + " does not support adding of mix:referenceable");
} else {
n.addMixin(mixReferenceable);
}
}