@Test
	public void testActionKeyBinding_ChangeKeyBinding_FromKeyBindingDialog() {
		KeyStroke newKs = KeyStroke.getKeyStroke('A', 0, false);
		setKeyBindingViaF4Dialog(testAction, newKs);
		triggerKey(dialog.getComponent(), newKs);
		assertTrue("Action was not invoked from the new key binding: " + newKs,
			testAction.wasInvoked());
	}
Interface for tests to signal what is expected of the executor
Ghidra/Features/Base/src/test.slow/java/ghidra/app/tablechooser/TableChooserDialogTest.java