### Question:
Servient { public static Set<String> getAddresses() { try { Set<String> addresses = new HashSet<>(); Enumeration<NetworkInterface> ifaces = NetworkInterface.getNetworkInterfaces(); while (ifaces.hasMoreElements()) { NetworkInterface iface = ifaces.nextElement(); if (!iface.isUp() || iface.isLoopback() || iface.isPointToPoint()) { continue; } Enumeration<InetAddress> ifaceAddresses = iface.getInetAddresses(); while (ifaceAddresses.hasMoreElements()) { InetAddress ifaceAddress = ifaceAddresses.nextElement(); String address = getAddressByInetAddress(ifaceAddress); if (address != null) { addresses.add(address); } } } return addresses; } catch (SocketException e) { return new HashSet<>(Collections.singletonList("127.0.0.1")); } } Servient();  Servient(Config config);  Servient(ServientConfig config);   Servient(List<ProtocolServer> servers,
             Map<String, ProtocolClientFactory> clientFactories,
             Map<String, Object> credentialStore,
             Map<String, ExposedThing> things); @Override String toString(); List<ProtocolServer> getServers(); CompletableFuture<Void> start(); CompletableFuture<Void> shutdown(); CompletableFuture<ExposedThing> expose(String id); CompletableFuture<ExposedThing> destroy(String id); boolean addThing(ExposedThing exposedThing); CompletableFuture<Thing> fetch(String url); CompletableFuture<Thing> fetch(URI url); ProtocolClient getClientFor(String scheme); boolean hasClientFor(String scheme); CompletableFuture<Map<String, Thing>> fetchDirectory(String url); CompletableFuture<Map<String, Thing>> fetchDirectory(URI url); CompletableFuture<Void> register(String directory,
                                            ExposedThing thing); CompletableFuture<Void> unregister(String directory,
                                              ExposedThing thing); Observable<Thing> discover(); Observable<Thing> discover(ThingFilter filter); Map<String, ExposedThing> getThings(); T getServer(Class<T> server); Object getCredentials(String id); CompletableFuture<Void> runScript(File file, Wot wot); CompletableFuture<Void> runPrivilegedScript(File file, Wot wot); List<String> getClientSchemes(); static Set<String> getAddresses(); static Servient clientOnly(Config config); static Servient serverOnly(Config config); static String getVersion();  }### Answer:
@Test public void getAddresses() { Servient.getAddresses(); assertTrue(true); }