@Test
    public void testGetJanePassword() throws Exception
    {
        // Setup test fixture.
        JiveGlobals.setProperty(MappedAuthProvider.PROPERTY_MAPPER_CLASSNAME, TestAuthProviderMapper.class.getName());
        final MappedAuthProvider provider = new MappedAuthProvider();

        // Execute system under test.
        final String result = provider.getPassword("jane");

        // Verify results.
        assertEquals("secret", result);
    }
Verifies that a password from user 'jane' can be retrieved (from the secondary provider)
xmppserver/src/test/java/org/jivesoftware/openfire/auth/MappedAuthProviderTest.java