use of com.google.gwt.user.client.ui.ComplexPanel in project gwt-test-utils by gwt-test-utils.
the class ComplexPanelTest method count.
@Test
public void count() {
// Given
ComplexPanel panel = new FlowPanel();
panel.add(new Button());
panel.add(new Button());
// When & Then
assertThat(panel.getWidgetCount()).isEqualTo(2);
}
Aggregations