@Test
public void testCreateProject() {

    SW360Project projectCreated = new SW360Project();
    projectCreated.setName(PROJECT_NAME);
    projectCreated.setVersion(PROJECT_VERSION);
    projectCreated.setDescription("a newly created project");
    when(projectClient.createProject(projectWithLink))
            .thenReturn(CompletableFuture.completedFuture(projectCreated));
    SW360Project result = block(projectClientAdapter.createProject(projectWithLink));
    assertThat(result).isEqualTo(projectCreated);
}