" <c:CellTree wbp:name='cellTree' ui:field='cellTree'/>",
" </g:at>",
" </g:AbsolutePanel>",
"</ui:UiBinder>");
refresh();
WidgetInfo cellTree = getObjectByName("cellTree");
// we have actual object
Object cellTreeObject = cellTree.getObject();
assertEquals(
"com.google.gwt.user.cellview.client.CellTree",
cellTreeObject.getClass().getName());
// has reasonable size (we fill it with sample content)
{
Rectangle bounds = cellTree.getBounds();
assertThat(bounds.width).isGreaterThan(300).isLessThan(400);
assertThat(bounds.height).isGreaterThan(45);
}
}