private void assertMessage(String text) {
		String kbStatusMessage = runSwing(panel::getStatusText);
		if (!kbStatusMessage.contains(text)) {
			fail("Expected message: " + text + ".  Found message: " + kbStatusMessage);
		}
	}
Tests for key bindings option panel
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/plugintool/dialog/KeyBindingsTest.java