@Test
public void testGetUserMappingsWithoutProperty() throws Exception
{

    this.mockery.checking(new Expectations()
    {{
        allowing(xwikiMock).getXWikiPreference("puma_userMapping", getContext()); will(returnValue(null));
        allowing(xwikiMock).Param("xwiki.authentication.puma.userMapping"); will(returnValue(null));
    }});
    Map<String, String> userMapping = this.config.getUserMapping(getContext());
    Assert.assertNull(userMapping);
}