### Question:
DiagramEditorScreenViewImpl implements DiagramEditorScreenView,
                                                    IsElement { @Override public DiagramEditorScreenView hideLoading() { loadingPanel.setVisible(false); widgetPanel.setVisible(true); return this; } @Inject  DiagramEditorScreenViewImpl(final @DataField FlowPanel loadingPanel,
                                       final @DataField FlowPanel widgetPanel); @Override DiagramEditorScreenView setWidget(final IsWidget widget); @Override DiagramEditorScreenView showLoading(); @Override DiagramEditorScreenView hideLoading(); @Override IsWidget asWidget(); @PreDestroy void destroy();  }### Answer:
@Test public void testHideLoading() { tested.hideLoading(); verify(loadingPanel, times(1)).setVisible(eq(false)); verify(widgetPanel, times(1)).setVisible(eq(true)); }