@Test
public void testToStringAddress1() {

    assertThat(NetUtil.toStringAddress((SocketAddress)ipv4))
        .isEqualTo(ipv4.getAddress().getHostAddress() + ":" + ipv4.getPort());
    assertThat(NetUtil.toStringAddress((SocketAddress)ipv6)).isEqualTo(
        ipv6.getAddress().getHostAddress() + ":" + ipv6.getPort());
}