public void goTo(PluginTool tool, Program p, Address addr) {

		GoToService goTo = tool.getService(GoToService.class);
		if (goTo != null) {
			goTo.goTo(addr);
			waitForSwing();
			return;
		}

		tool.firePluginEvent(
			new ProgramLocationPluginEvent("Test", new ProgramLocation(p, addr), p));
		waitForSwing();
	}
Redo the last 'count' undone transactions on the domain object and wait for all events to be
flushed.

@param dobj The domain object upon which to perform the redo.
@param count number of transactions to redo
Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadlessIntegrationTest.java