" menuBar.setMenus(new Menu[] { new Menu(), menu });",
" canvas.addChild(menuBar);",
" canvas.draw();",
" }",
"}"});
canvas.refresh();
MenuBarInfo menuBar = canvas.getChildren(MenuBarInfo.class).get(0);
// move Menu
menuBar.command_MOVE(menuBar.getMenus().get(0), null);
assertEditor(
"public class Test implements EntryPoint {",