@Test
	public void testSetMenuItemName() {

		MenuData menuData = new MenuData(new String[] { "One", "Two", "T&hree" });
		assertEquals("Three", menuData.getMenuItemName());
		assertEquals(menuData.getMnemonic(), 'h');

		String newName = "Completely New Name";
		menuData.setMenuItemName(newName);
		assertEquals(menuData.getMnemonic(), MenuData.NO_MNEMONIC);
	}
The MenuData constructor should fail to accept an invalid (empty) menuPath
Ghidra/Framework/Docking/src/test/java/docking/action/MenuDataTest.java