@Test
    public void testWildcardExtension() throws Exception
    {
        // Setup test fixture.
        final Map<String, Object> haystack = Map.of("myplugin/*.jsp", new Object());

        // Execute system under test.
        final Object result = PluginServlet.getWildcardMappedObject(haystack, "myplugin/foo.jsp");

        // Verify results.
        assertNotNull(result);
    }
Tests that verify the functionality of {@link PluginServlet}

@author Guus der Kinderen, guus.der.kinderen@gmail.com
xmppserver/src/test/java/org/jivesoftware/openfire/container/PluginServletTest.java