@Test
	public void testSetKeyBindingUpdatesToolBarButtonTooltip() {

		JButton button = getToolBarButton(testAction);
		String toolTip = button.getToolTipText();
		assertTrue(toolTip.contains("(Z)"));

		KeyStroke newKs = KeyStroke.getKeyStroke('A', 0, false);
		setOptionsKeyStroke(testAction, newKs);

		String newToolTip = button.getToolTipText();
		assertTrue(newToolTip.contains("(A)"));
	}
Interface for tests to signal what is expected of the executor
Ghidra/Features/Base/src/test.slow/java/ghidra/app/tablechooser/TableChooserDialogTest.java