@Test
public void testGetFingerPrintsReturnEmptyOnFailure() throws Exception {

    when(fossologyHostKeyConnector.getAll()).thenReturn(null);
    assertThat(fossologyHostKeyHandler.getFingerPrints(),
            is(emptyCollectionOf(FossologyHostFingerPrint.class)));
    verify(fossologyHostKeyConnector).getAll();
}