@Test
public void testCreateProjectInvalidName() throws InterruptedException {

    SW360Project newProject = new SW360Project();
    newProject.setVersion(PROJECT_VERSION);
    CompletableFuture<SW360Project> future = projectClientAdapter.createProject(newProject);
    try {
        future.get();
        fail("Invalid project not detected!");
    } catch (ExecutionException e) {
        assertThat(e.getCause()).isInstanceOf(SW360ClientException.class);
        assertThat(e.getCause().getMessage()).contains("invalid project");
    }
}