e.printStackTrace();
fail();
}
// if remove from trash folder, folder containing the file need to be removed
final String trashPath = ServerRepositoryPaths.getUserHomeFolderPath( new Tenant( null, true ),
PentahoSessionHolder.getSession().getName() ) + RepositoryFile.SEPARATOR + ".trash";
when( nodeToRemove.getPath() ).thenReturn( trashPath );
try {
defaultDeleteHelper.permanentlyDeleteFile( session, pentahoJcrConstants, fileID );