@Test
public void testCreateUpdaterImpl() {

    SW360ConnectionConfigurationFactory connectionFactory = mock(SW360ConnectionConfigurationFactory.class);
    SW360Connection connection = mock(SW360Connection.class);
    when(connectionFactory.createConnection(any(), any(), any())).thenReturn(connection);
    SW360Updater updater = new SW360Updater(connectionFactory);
    updater.setAntennaContext(antennaContextMock);
    SW360UpdaterImpl updaterImpl = updater.createUpdaterImpl(createConfigMap());
    assertThat(updaterImpl.isUpdateReleases()).isTrue();
    assertThat(updaterImpl.isUploadSources()).isTrue();
    assertThat(updaterImpl.isDeleteObsoleteSourceAttachments()).isTrue();
}