FossologyHostKeyRepository implements HostKeyRepository { @Override public void remove(String host, String type) { throw throwUnsupportedOperationException(); } @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);  }
@Test public void testRemove() { expectUnsupported(); repo.remove("a", "b"); }
@Test public void testRemove2() { expectUnsupported(); byte[] hk = "".getBytes(); repo.remove("a", "b", hk); }