"}");
}
public void test_clipboard_addNewInstance() throws Exception {
prepare_clipboard_MyImageBundle();
RootPanelInfo frame =
parseJavaInfo(
"public class Test implements EntryPoint {",
" public void onModuleLoad() {",
" RootPanel rootPanel = RootPanel.get();",
" }",
"}");
frame.refresh();
// paste Tree
addTreeFromMemento(frame);
assertEditor(
"public class Test implements EntryPoint {",
" private static final MyImageBundle myImageBundle = GWT.create(MyImageBundle.class);",