DataSetDefBackendCacheAttributesEditor implements IsWidget,
                                                               org.dashbuilder.dataset.client.editor.DataSetDefBackendCacheAttributesEditor { @Override public ToggleSwitchEditor cacheEnabled() { return cacheEnabled; } @Inject  DataSetDefBackendCacheAttributesEditor(final ToggleSwitchEditor cacheEnabled,
                                                  final ValueBoxEditor<Integer> cacheMaxRows,
                                                  final DataSetDefCacheAttributesEditorView view); @PostConstruct void init(); void setRange(final Double min,
                         final Double max); @Override Widget asWidget(); @Override ToggleSwitchEditor cacheEnabled(); @Override ValueBoxEditor<Integer> cacheMaxRows(); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final DataSetDef value); @Override void setDelegate(final EditorDelegate<DataSetDef> delegate); public DataSetDefCacheAttributesEditorView view; }
@Test public void testCacheEnabled() { assertEquals(cacheEnabled, presenter.cacheEnabled()); }