@Test
public void testSendToFossology() throws Exception {

    final String releaseId = "a";
    final String clearingTeam = "b";
    final RequestStatus requestStatus = RequestStatus.FAILURE;
    doReturn(requestStatus).when(fossologyFileHandler).sendToFossology(releaseId, user,clearingTeam);
    assertThat(fossologyHandler.sendToFossology(releaseId, user, clearingTeam), sameInstance(requestStatus));
    verify(fossologyFileHandler).sendToFossology(releaseId, user, clearingTeam);
}