DataSetPanel implements IsWidget { @Override public Widget asWidget() { return view.asWidget(); } @Inject  DataSetPanel(final DataSetSummary dataSetSummary, 
                        final Event<EditDataSetEvent> editDataSetEvent, 
                        final View view); @PostConstruct void init(); @Override Widget asWidget(); void show(final DataSetDef def, final String parentPanelId); void close(); void disable(); DataSetDef getDataSetDef();  }
@Test public void testAsWidget() throws Exception { assertEquals(view.asWidget(), presenter.asWidget()); }