NodeHelper { protected static Node checkAddNode( Node parentNode, String nodeName ) throws RepositoryException { return parentNode.addNode( nodeName ); }  static boolean hasNode( Node parentNode, String nodeNamePrefix, String nodeName ); static Node addNode( Node parentNode, String nodeNamePrefix, String nodeName ); static Node addNode( Node parentNode, String nodeNamePrefix, String nodeName, String nodeParameter ); static Node getNode( Node parentNode, String nodeNamePrefix, String nodeName ); static DataNode createDataNode( String name );  }
@Test public void testCheckAddNode() { mLog.info( "testCheckAddNode.." ); try { NodeHelper.checkAddNode( node, "TEST_NODE" ); } catch ( Exception e ) { fail(); } }