public static void assertNodeNotExistByPath ( final Session session , final String absPath ) throws RepositoryException { try { session . getNode ( absPath ) ; fail ( "Node " + absPath + " does not exist" ) ; } catch ( final PathNotFoundException e ) { // NOSONAR // the exception is expected } }
Asserts that a specific node with the given absolute path does not exist in the session