@Test
public void testSendToFossologyWithNotExistentReleaseIsError() throws Exception {

    try {
        assertThat(fossologyFileHandler.sendToFossology(releaseId, user, clearingTeam), is(RequestStatus.FAILURE));
    } catch (SW360Exception e) {
        assertThat(e, instanceOf(SW360Exception.class));
    }
    verify(componentService).getReleaseById(releaseId, user);
}