@Test
public void testUpdateReleaseInvalid() throws MalformedPackageURLException {

    SW360Release updatedRelease = mkSW360Release("updatedRelease");
    updatedRelease.setVersion("");
    CompletableFuture<SW360Release> futUpdate = releaseClientAdapter.updateRelease(updatedRelease);
    try {
        block(futUpdate);
        fail("Invalid release not detected");
    } catch (SW360ClientException e) {
        assertThat(e.getMessage()).contains("Cannot update release", updatedRelease.getName());
        assertThat(e.getCause()).isInstanceOf(IllegalArgumentException.class);
    }
}