@Test
public void should_recognise_ipv6_literal() {

    assertThat(subject.isLiteralIpAddress("db8::")).hasValue("db8::");
    assertThat(subject.isLiteralIpAddress("::1")).hasValue("::1");
    assertThat(subject.isLiteralIpAddress("0db8::1")).hasValue("0db8::1");
    assertThat(subject.isLiteralIpAddress("Db8:db9:1")).hasValue("Db8:db9:1"); // in this implementation
    assertThat(subject.isLiteralIpAddress("dB8:db9::1%eth0")).hasValue("dB8:db9::1%eth0");
    assertThat(subject.isLiteralIpAddress("fe80::b62e:99ff:fe46:41f2%en0")).hasValue("fe80::b62e:99ff:fe46:41f2%en0");
    assertThat(subject.isLiteralIpAddress("::FFFF:192.168.1.250")).hasValue("::FFFF:192.168.1.250");
}