RemoteDebugViewImpl extends Composite implements RemoteDebugView { @Override public void show() { dialog.show(); } @Inject  RemoteDebugViewImpl(JavaRuntimeLocalizationConstant locale,
                               JavaRuntimeResources resources,
                               DialogFactory dialogFactory,
                               final NotificationManager notificationManager); @Override void setDelegate(@NotNull ActionDelegate delegate); @Override void show();  }
@Test public void dialogShouldBeShown() throws Exception { view.show(); verify(dialog).show(); }