DataSetSummary implements IsWidget { @Override public Widget asWidget() { return view.asWidget(); } @Inject  DataSetSummary(final DataSetClientServices clientServices, 
                          final Event<ErrorEvent> errorEvent, 
                          final View view); @PostConstruct void init(); @Override Widget asWidget(); void show(final DataSetDef def);  }
@Test public void testAsWidget() throws Exception { assertEquals(view.asWidget(), presenter.asWidget()); }