* Panel. So, we need to have top bounds script.
* <p>
* http://fogbugz.instantiations.com/fogbugz/default.php?41093
*/
public void test_renderPanel() throws Exception {
PanelInfo panel =
parseJavaInfo(
"public class Test extends Composite {",
" public Test() {",
" VerticalPanel panel = new VerticalPanel();",
" panel.add(new Button());",
" }",
"}");
panel.refresh();
//
Rectangle bounds = panel.getBounds();
assertEquals(450, bounds.width);
assertEquals(300, bounds.height);
}