@Test
    public void testRemoveBracketsFromIpv6AddressNoIpv6() throws Exception
    {
        // Setup test fixture.
        final String input = "[123]";

        // Execute system under test.
        final String result = IpUtils.removeBracketsFromIpv6Address(input);

        // Verify results.
        assertEquals(input, result);
    }
Asserts that {@link IpUtils#removeBracketsFromIpv6Address(String)} returns the unmodified input value when that
is surrounded by brackets, but is not an IPv6 value.
xmppserver/src/test/java/org/jivesoftware/util/IpUtilsTest.java