LocalAddressProvider implements Provider<InetAddress> { @Override public InetAddress get() { try { return getLocalInetAddress(); } catch (IOException e) { throw new HolmesRuntimeException(e); } }  @Override InetAddress get();  }
@Test public void testGetLocalAddress() { LocalAddressProvider localAddressProvider = new LocalAddressProvider(); assertNotNull(localAddressProvider.get()); }