@Test
public void testToStringAddress() {

    try {
        String stringAddress = NetUtil.toStringAddress(InetSocketAddress.createUnresolved("127.0.0.1", 9828));
    } catch (Exception e) {
        assertThat(e).isInstanceOf(NullPointerException.class);
    }
}