DataSetDefRefreshAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefRefreshAttributesEditor { @Override public DataSetDefRefreshIntervalEditor refreshTime() { return refreshTime; } @Inject  DataSetDefRefreshAttributesEditor(final ToggleSwitchEditor refreshAlways,
                                             final DataSetDefRefreshIntervalEditor refreshTime,
                                             final View view); @PostConstruct void init(); boolean isRefreshEnabled(); @Override Widget asWidget(); @Override ToggleSwitchEditor refreshAlways(); @Override DataSetDefRefreshIntervalEditor refreshTime(); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final DataSetDef value); @Override void setDelegate(final EditorDelegate<DataSetDef> delegate); public View view; }
@Test public void testRefreshTime() { assertEquals(refreshTime, presenter.refreshTime()); }