@Test
public void testSetMnemonicAction() throws Exception {

    UnitTestAction action = new UnitTestAction("H&ello");
    MenuCommonFunctions.setMnemonic(action);
    assertEquals(KeyEvent.VK_E,action.getMnemonic());
    assertEquals("Hello",action.getValue(Action.NAME));
}