private void upgradeDatabase(PrivateDatabase db) throws Exception {

		DBHandle dbh = db.openForUpdate(TaskMonitor.DUMMY);
		try {
			ProgramDB program = new ProgramDB(dbh, OpenMode.UPGRADE, TaskMonitor.DUMMY, this);
			if (dbh != null) {
				dbh.save(null, null, TaskMonitor.DUMMY);
			}
			dbh = null;
			program.release(this);
		}
		finally {
			if (dbh != null) {
				dbh.close();
			}
		}
	}
Copies the specified program zip file to the JUnit test project's folder. <b>This
means that the program will appear in the FrontEndTool as part of the project.</b>  That is
the only reason to use this method vice openProgram().

@param folder the folder into which the domain file will be inserted
@param programName the name of the program zip file without the ".gzf" extension.
@return the file
@throws FileNotFoundException if the file cannot be found
Ghidra/Features/Base/src/main/java/ghidra/test/TestProgramManager.java