public static Ip6Address valueOf(byte[] value) {
        return new Ip6Address(value);
    }
@Test
    public void testToStringIPv6() {
        Ip6Address ipAddress;

        ipAddress =
            Ip6Address.valueOf("1111:2222:3333:4444:5555:6666:7777:8888");
        assertThat(ipAddress.toString(),
                   is("1111:2222:3333:4444:5555:6666:7777:8888"));

        ipAddress = Ip6Address.valueOf("1111::8888");
        assertThat(ipAddress.toString(), is("1111::8888"));

        ipAddress = Ip6Address.valueOf("1111::");
        assertThat(ipAddress.toString(), is("1111::"));

        ipAddress = Ip6Address.valueOf("::8888");
        assertThat(ipAddress.toString(), is("::8888"));

        ipAddress = Ip6Address.valueOf("::");
        assertThat(ipAddress.toString(), is("::"));

        ipAddress =
            Ip6Address.valueOf("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff");
        assertThat(ipAddress.toString(),
                   is("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"));
    }