### Question:
DataSetDefColumnsFilterEditor implements IsWidget,
                                                      org.dashbuilder.dataset.client.editor.DataSetDefColumnsFilterEditor { public void setMaxHeight(final String maxHeight) { view.setMaxHeight(maxHeight); } @Inject  DataSetDefColumnsFilterEditor(final DataSetDefColumnsEditor columnsEditor,
                                         final DataSetDefFilterEditor dataSetFilterEditor,
                                         final View view); @PostConstruct void init(); @Override Widget asWidget(); void setMaxHeight(final String maxHeight); @Override org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor columnListEditor(); @Override org.dashbuilder.dataset.client.editor.DataSetDefFilterEditor dataSetFilter(); @Override void setAcceptableValues(final List<DataColumnDef> acceptableValues); @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; }### Answer:
@Test public void testSetMaxHeight() throws Exception { final String maxH = "100px"; tested.setMaxHeight(maxH); verify(view, times(0)).init(tested); verify(view, times(0)).initWidgets(any(IsWidget.class), any(DataSetDefFilterEditor.View.class)); verify(view, times(1)).setMaxHeight(maxH); }