{
int count = domUtils.getChildCount(rootPanelElement);
assertThat(count).isGreaterThan(1);
}
// dispose, so now RootPanel should be empty
frame.refresh_dispose();
// still has elements: "css wait" div, "history" frame, "layout" div
{
Object[] children = domUtils.getChildren(rootPanelElement);
assertThat(children).hasSize(3);
assertThat(children[0].toString()).contains("__gwt_historyFrame");