@Test
public void testOnValueChanged() throws Exception {

    DataSetFilter filter3 = mock(DataSetFilter.class);
    when(filter2.cloneInstance()).thenReturn(filter3);
    tested.value = filter1;
    tested.onValueChanged(new DataSetFilterChangedEvent(filter2));
    assertEquals(filter3, tested.value);
    verify(view, never()).setWidget(any(IsWidget.class));
    verify(dataSetFilterEditor, never()).init(any(DataSetFilter.class), any(DataSetMetadata.class));
    verify(filterChangedEvent).fire(any(FilterChangedEvent.class));
}