* without a default primary type.
*/
public void testResidualWithoutDefault()
throws NotExecutableException, RepositoryException {
NodeDefinition nodeDef = NodeTypeUtil.locateChildNodeDef(session, true, false, true);
if (nodeDef == null) {
throw new NotExecutableException("No residual child node def " +
"with a defaultPrimaryType found.");
}
NodeType nodeType = nodeDef.getDeclaringNodeType();
String undefinedName = NodeTypeUtil.getUndefinedChildNodeName(nodeType);
assertFalse("NodeType.canAddChildNode(String childNodeName) must return " +
"false for a not defiend childNodeName if NodeType has a " +
"residual child node definition without a defaultPrimaryType",