  @Test
  public void testShouldReturnIpAddress() {

    InetSocketAddress inetSocketAddress = DnsUntil.toIpAddress("localhost", 8001);
    InetSocketAddress unresolved = InetSocketAddress.createUnresolved("127.0.0.1", 8001);
    Assert.assertTrue(unresolved.equals(inetSocketAddress));
  }