assertHierarchy(
"{this: com.google.gwt.user.client.ui.Composite} {this} {/initWidget(button)/}",
" {new: com.google.gwt.user.client.ui.Button} {local-unique: button} {/new Button()/ /initWidget(button)/}");
WidgetInfo button = composite.getWidget();
// do refresh()
composite.refresh();
assertFalse(composite.isEmpty());
// check Composite bounds
{
Rectangle bounds = composite.getBounds();
assertEquals(new Rectangle(0, 0, 450, 300), bounds);