@Test public void testClear() throws Exception { tested.tableDisplayer = displayer; tested.clear(); assertNull(tested.tableDisplayer); verify(view, times(0)).init(tested); verify(view, times(0)).setDisplayer(any(IsWidget.class)); verify(view, times(1)).clear(); }
public void clear() { tableDisplayer = null; view.clear(); }
DataSetDefPreviewTable implements IsWidget { public void clear() { tableDisplayer = null; view.clear(); } }
DataSetDefPreviewTable implements IsWidget { public void clear() { tableDisplayer = null; view.clear(); } @Inject  DataSetDefPreviewTable(final DisplayerLocator displayerLocator,
                                  final DataSetClientServices clientServices,
                                  final View view); }
DataSetDefPreviewTable implements IsWidget { public void clear() { tableDisplayer = null; view.clear(); } @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(); }
DataSetDefPreviewTable implements IsWidget { public void clear() { tableDisplayer = null; view.clear(); } @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; }