* parent that is checked in).
*/
protected Node initVersioningException(boolean returnParent) throws RepositoryException, NotExecutableException, IOException {
Node vNode = testRootNode.addNode(nodeName1, testNodeType);
if (!vNode.isNodeType(mixVersionable)) {
if (vNode.canAddMixin(mixVersionable)) {
vNode.addMixin(mixVersionable);
} else {
throw new NotExecutableException("NodeType: " + testNodeType + " is not versionable");
}
}