@Test
public void onValueChange() {

    reset(uploadWidgetMock);
    ValueChangeEvent eventMock = mock(ValueChangeEvent.class);
    doReturn(false).when(sourceTypeSelector).isDMNSelected();
    sourceTypeSelector.onValueChange(eventMock);
    verify(uploadWidgetMock, never()).updateAssetList();
    doReturn(true).when(sourceTypeSelector).isDMNSelected();
    sourceTypeSelector.onValueChange(eventMock);
    verify(uploadWidgetMock, times(1)).updateAssetList();
}