// place Button on Tab
CanvasInfo newButton = createJavaInfo("com.smartgwt.client.widgets.Button");
{
SimpleContainer simpleContainer = new SimpleContainerFactory(newTab, false).get().get(1);
assertTrue(simpleContainer.validateComponent(newButton));
simpleContainer.command_CREATE(newButton);
}
assertEditor(
"public class Test implements EntryPoint {",
" public void onModuleLoad() {",
" RootPanel rootPanel = RootPanel.get();",