@Test
public void testSetValue() throws Exception {

    DataSetFilter newFilter = mock(DataSetFilter.class);
    List<ColumnFilter> createColumnFilters = createColumnFilters("col1", "col2");
    when(newFilter.getColumnFilterList()).thenReturn(createColumnFilters);
    when(dataSetDef.getDataSetFilter()).thenReturn(newFilter);
    tested.setValue(dataSetDef);
    verify(columnsEditor, times(1)).onValueRestricted("col1");
    verify(columnsEditor, times(1)).onValueRestricted("col2");
    verify(columnsEditor, times(0)).onValueUnRestricted(anyString());
    verify(columnsEditor, times(0)).setAcceptableValues(any(List.class));
    verify(view, times(0)).init(tested);
    verify(view, times(0)).initWidgets(any(IsWidget.class), any(DataSetDefFilterEditor.View.class));
    verify(view, times(0)).setMaxHeight(anyString());
}