@Test
public void testSetFingerPrints() throws Exception {

    @SuppressWarnings("unchecked")
    final List<FossologyHostFingerPrint> newFingerPrints = mock(List.class);
    final RequestStatus requestStatus = RequestStatus.FAILURE;
    doReturn(requestStatus).when(fossologyHostKeyHandler).setFingerPrints(newFingerPrints);
    assertThat(fossologyHandler.setFingerPrints(newFingerPrints), sameInstance(requestStatus));
    verify(fossologyHostKeyHandler).setFingerPrints(newFingerPrints);
}