FixedHostDiscovery implements HostDiscovery { @Override public void close() throws IOException { } FixedHostDiscovery(ServiceEndPoint... endPoints);  FixedHostDiscovery(Iterable<ServiceEndPoint> endPoints); @Override Iterable<ServiceEndPoint> getHosts(); @Override void addListener(EndPointListener listener); @Override void removeListener(EndPointListener listener); @Override void close();  }
@Test public void testClose() throws IOException { _discovery.close(); }