@Test
public void shouldParseIPv6ServerAddressWithoutPort() {

    address = MongoUtil.parseAddress("[::1/128]");
    assertThat(address.getHost()).isEqualTo("::1/128"); // removes brackets
    assertThat(address.getPort()).isEqualTo(ServerAddress.defaultPort());
}