protected void focusVertex(AbstractTestVertex v) {
		GraphViewer<AbstractTestVertex, TestEdge> viewer = graphComponent.getPrimaryViewer();
		GPickedState<AbstractTestVertex> ps = viewer.getGPickedVertexState();
		swing(() -> {
			ps.clear();
			ps.pick(v, true);
		});
		AbstractTestVertex focused = swing(() -> graph.getFocusedVertex());
		assertEquals(v, focused);
	}
Focuses the given vertex, which means to trigger it to be picked/selected in the UI, 
causing it to be the focused vertex of the graph.

@param v the vertex
Ghidra/Framework/Graph/src/test.slow/java/ghidra/graph/viewer/AbstractVisualGraphTest.java