}
public void testCreateActionMap() throws Exception {
ui.installUI(fc);
ActionMap map = ui.createActionMap();
List<Object> allKeys = Arrays.asList(map.allKeys());
assertEquals(3, allKeys.size());
assertTrue(allKeys.contains("approveSelection"));
assertEquals(ui.getApproveSelectionAction(), map.get("approveSelection"));
assertTrue(allKeys.contains("cancelSelection"));
assertEquals(ui.getCancelSelectionAction(), map.get("cancelSelection"));