Modal implements IsElement { public void hide() { hide(div); document.getBody().removeChild(div); }  @Override HTMLElement getElement(); void show(); void hide();  }
@Test public void testHide() { modal.hide(); verify(body).removeChild(div); }