@Test
	public void testActionKeyBinding() {
		KeyStroke ks = testAction.getKeyBinding();
		triggerKey(dialog.getComponent(), ks);
		assertTrue(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