@Test
	public void testActionToolBarButtonIconUpdate() {

		Icon icon = testAction.getToolBarData().getIcon();
		JButton button = getToolBarButton(icon);
		assertNotNull("Could not find button for icon: " + icon, button);

		Icon newIcon = Icons.LEFT_ICON;
		runSwing(() -> testAction.setToolBarData(new ToolBarData(newIcon)));
		button = getToolBarButton(newIcon);
		assertNotNull("Could not find button for icon: " + icon, button);
	}
Interface for tests to signal what is expected of the executor
Ghidra/Features/Base/src/test.slow/java/ghidra/app/tablechooser/TableChooserDialogTest.java