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

        // Execute system under test.
        final Map<String, String> result = provider.loadProperties("john");

        // Verify results.
        assertNotNull(result);

    }
Verifies that properties from a user named 'john' is returned (from the tertiary provider).
xmppserver/src/test/java/org/jivesoftware/openfire/user/property/MappedUserPropertyProviderTest.java