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

        // Execute system under test.
        final User result = provider.loadUser("jane");

        // Verify results.
        assertNotNull(result);
        assertEquals("jane", result.getUsername());
    }
Verifies that a user named 'jane' is returned.
xmppserver/src/test/java/org/jivesoftware/openfire/user/MappedUserProviderTest.java