@Test
    public void testConvertRangeWildcardWhitespace() throws Exception
    {
        // Setup test fixture.
        final String input = " 198.51.100.*\n";

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

        // Verify results.
        assertEquals(" 198.51.100.0/24\n", result);
    }
Asserts that {@link IpUtils#convertIpv4WildcardRangeToCidrNotation(String)} replaces a wildcard-based range
with a CIDR notation, if the input is surrounded by whitespace characters (not trimmed).
xmppserver/src/test/java/org/jivesoftware/util/IpUtilsTest.java