DataSetExplorer implements IsWidget { @Override public Widget asWidget() { return view.asWidget(); } @Inject  DataSetExplorer(final Instance<DataSetPanel> panelInstances,
                           final DataSetClientServices clientServices,
                           final View view); @PostConstruct void init(); @Override Widget asWidget(); void show();  }
@Test public void testAsWidget() throws Exception { assertEquals(view.asWidget(), presenter.asWidget()); }