FixedHostDiscovery implements HostDiscovery { @Override public void addListener(EndPointListener listener) { } 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 testAddListener() { _discovery.addListener(null); }