Index: jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java =================================================================== --- jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java (revision 1895087) +++ jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java (working copy) @@ -499,6 +499,36 @@ } /** + * Creates a node without its mandatory child node using {@link + * Node#addNode(String, String)} and then saves. + *
+ * This should throw a {@link ConstraintViolationException}. + *
+ * Prerequisites:
javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype2
+ * a node type that has a mandatory child nodejavax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype3
+ * nodetype of the mandatory child nodejavax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodename3
+ * name of the mandatory child node