UIManager.getDefaults().put(key, new Object[] { "shift ESCAPE", "showSystemMenu" });
ui.setupMenuOpenKey();
final InputMap uiInputMap = SwingUtilities.getUIInputMap(frame,
JComponent.WHEN_IN_FOCUSED_WINDOW);
assertNotNull("inputMap installed", uiInputMap);
assertEquals(1, uiInputMap.allKeys().length);
// Regression test for HARMONY-2709
try {
new BasicInternalFrameUI(null).setupMenuOpenKey();
fail("NPE expected");