@Test
public void testUpdateProject() {

    SW360Project projectUpdated = new SW360Project();
    projectUpdated.setName(PROJECT_NAME);
    projectUpdated.setVersion(PROJECT_VERSION);
    projectUpdated.setDescription("project that was updated");
    when(projectClient.updateProject(projectWithLink))
            .thenReturn(CompletableFuture.completedFuture(projectUpdated));
    SW360Project result = block(projectClientAdapter.updateProject(projectWithLink));
    assertThat(result).isEqualTo(projectUpdated);
}