DataSetDefPreviewTable implements IsWidget { @PostConstruct public void init() { view.init(this); } @Inject  DataSetDefPreviewTable(final DisplayerLocator displayerLocator,
                                  final DataSetClientServices clientServices,
                                  final View view); @PostConstruct void init(); @Override Widget asWidget(); void show(final DataSetDef dataSetDef, final Collection<DataColumnDef> columns,
                     final DisplayerListener displayerListener); void clear(); public View view; }
@Test public void testInit() throws Exception { tested.init(); verify(view, times(1)).init(tested); verify(view, times(0)).setDisplayer(any(IsWidget.class)); verify(view, times(0)).clear(); }