protected void waitForAnimation() {

		//
		// Note: we need to stop edge hover animations, as they can go on for a long time.  If
		//       any test needs them, then we can add a different wait method.
		//

		waitForSwing();
		VisualGraphViewUpdater<AbstractTestVertex, TestEdge> updater =
			graphComponent.getViewUpdater();
		swing(() -> updater.stopEdgeHoverAnimation());

		// animation sometimes takes too long on the test machine, so we may try more than once
		int tryCount = 0;
		while (tryCount++ < 5 && updater.isBusy()) {
			waitForConditionWithoutFailing(() -> !updater.isBusy());
		}

		assertFalse("Timed-out waiting for animation", updater.isBusy());
		waitForSwing();
	}
Creates a basic test environment that uses a JFrame to house a {@link GraphComponent}, which
itself has a primary and satellite viewer, all initialized with a graph of your setup, 
with reasonable default settings.
Ghidra/Framework/Graph/src/test.slow/java/ghidra/graph/viewer/AbstractVisualGraphTest.java