@Test
public void testUpdateRelease() throws MalformedPackageURLException {

    SW360Release updatedRelease = mkSW360Release("updatedRelease");
    release.getLinks().setSelf(new Self("https://releases.org/" + ID));
    when(releaseClient.patchRelease(release)).thenReturn(CompletableFuture.completedFuture(updatedRelease));
    assertThat(block(releaseClientAdapter.updateRelease(release))).isEqualTo(updatedRelease);
}