### Question:
FossologyHostKeyRepository implements HostKeyRepository { @Override public String getKnownHostsRepositoryID() { return "fossologyHKR"; } @Autowired  FossologyHostKeyRepository(FossologyFingerPrintRepository fossologyFingerPrintRepository); @Override int check(String host, byte[] key); @Override void add(HostKey hostkey, UserInfo ui); @Override void remove(String host, String type); @Override void remove(String host, String type, byte[] key); @Override String getKnownHostsRepositoryID(); @Override HostKey[] getHostKey(); @Override HostKey[] getHostKey(String host, String type);  }### Answer:
@Test public void testGetId() { assertThat(repo.getKnownHostsRepositoryID(), not(isEmptyOrNullString())); }