@Test
    public void testNameCoverageUnequal() throws Exception
    {
        // setup
        final String name = "xmpp.example.org";
        final String pattern = "something.completely.different";

        // do magic
        final boolean result = DNSUtil.isNameCoveredByPattern( name, pattern );

        // verify
        assertFalse( result );
    }
A test that verifies that {@link DNSUtil#isNameCoveredByPattern(String, String)} does not find a match when both
arguments have different values.
xmppserver/src/test/java/org/jivesoftware/openfire/net/DNSUtilTest.java