@Test
	public void testMultipleActionsOnKeyBinding() throws Exception {

		// verify that a list of collisions show up

		selectRowForAction(action1);
		typeKeyStroke(KeyEvent.VK_OPEN_BRACKET);
		apply();

		// set same binding on a different action, which will trigger the collisions list
		selectRowForAction(action2);
		typeKeyStroke(KeyEvent.VK_OPEN_BRACKET);

		MultiLineLabel label = (MultiLineLabel) findComponentByName(panel, "CollisionLabel");

		String msg = label.getLabel();
		String[] lines = msg.split("\n");
		assertEquals(3, lines.length);

		boolean success = msg.contains(action1.getName()) && msg.contains(action2.getName());

		assertTrue("In-use action message incorrect.\n\tIt should contain these 2 actions:\n\t\t" +
			action1.getName() + "\n\t\t" + action2.getName() + ".\nActual message:\n" + msg + "\n",
			success);
	}
Tests for key bindings option panel
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/plugintool/dialog/KeyBindingsTest.java