node.pressKey(Key.UP);
assertEquals("11", node.getSelected().getText());
}
@Test
public void testCtrlUp() throws Exception {
final FreeplaneWindow mainWindow = getFreeMindWindow();
mainWindow.getAwtComponent();
final Node node = mainWindow.getNode("22");
node.selectAsTheOnlyOneSelected();
node.pressKey(Key.control(Key.UP));
node.pressKey(Key.DOWN);
assertEquals("11", node.getSelected().getText());
mainWindow.getToolbar("/main_toolbar").getButton("Undo").click();
}