frame.getContentPane().add(b1, 0);
frame.getContentPane().add(b2, 2);
AbstractAction action = ui.new NavigateAction();
action.putValue(Action.NAME, "navigateNext");
b1.requestedFocus = false;
action.actionPerformed(null);
assertTrue(b1.requestedFocus);
action.putValue(Action.NAME, "navigatePrevious");
b2.requestedFocus = false;
action.actionPerformed(null);
assertTrue(b2.requestedFocus);