private void schedule(AutoAnalysisManager mgr, BackgroundCommand<Program> cmd, int priority) {
		invokeInstanceMethod("schedule", mgr, new Class[] { BackgroundCommand.class, int.class },
			new Object[] { cmd, priority });
	}
Test attempt to run an AnalysisWorker from swing thread
@throws Exception
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/AutoAnalysisWorkerTest.java