@Test
public void testAddSW360ReleasesToSW360Project() {

    SW360ReleaseLinkObjects releaseLinkObjects = new SW360ReleaseLinkObjects();
    releaseLinkObjects.setSelf(linkObjects.getSelf());
    SW360Release release = new SW360Release();
    release.setLinks(releaseLinkObjects);
    when(projectClient.addReleasesToProject(eq(PROJECT_LAST_INDEX), any()))
            .thenReturn(CompletableFuture.completedFuture(null));
    Collection<SW360Release> releases = Collections.singletonList(release);
    block(projectClientAdapter.addSW360ReleasesToSW360Project(PROJECT_LAST_INDEX, releases));
    verify(projectClient, atLeastOnce()).addReleasesToProject(eq(PROJECT_LAST_INDEX), any());
}