@Test
public void testSendToFossologyWithNoSourcesIsSuccess() throws Exception {

    final Release release = mock(Release.class);
    when(componentService.getReleaseById(releaseId, user)).thenReturn(release);
    assertThat(fossologyFileHandler.sendToFossology(releaseId, user, clearingTeam), is(RequestStatus.FAILURE));
    verify(componentService).getReleaseById(releaseId, user);
    verify(componentService).getSourceAttachments(releaseId);
}