@Test
public void testReleaseAdapter() {

    SW360Connection connection = newConnection();
    SW360ReleaseClientAdapterAsyncImpl releaseAdapterAsync =
            (SW360ReleaseClientAdapterAsyncImpl) connection.getReleaseAdapterAsync();
    SW360ReleaseClientAdapter releaseAdapterSync = connection.getReleaseAdapter();
    checkClient(releaseAdapterAsync.getReleaseClient());
    checkClient(releaseAdapterSync.getReleaseClient());
    checkSyncAdapter(releaseAdapterSync, releaseAdapterAsync);
    assertThat(releaseAdapterAsync.getComponentAdapter()).isEqualTo(connection.getComponentAdapterAsync());
}