protected void buildAndLayoutGraph() throws CancelledException {
		// the test machine has odd Swing exceptions when we construct UIs off the Swing thread
		graph = runSwing(() -> buildGraph());
		TestLayoutProvider layoutProvider = createLayoutProvider();
		graph.setLayout(layoutProvider.getLayout(graph, TaskMonitor.DUMMY));
		graphComponent = runSwing(() -> createGraphComponent(layoutProvider));
	}
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