@Test
public void testGetUserMappingsWithTwoCouples() throws Exception
{

    this.mockery.checking(new Expectations()
    {{
        allowing(xwikiMock).getXWikiPreference("puma_userMapping", getContext()); will(returnValue("xwikifield=pumagfield,xwikifield2=pumagfield2"));
    }});
    Map<String, String> userMapping = this.config.getUserMapping(getContext());
    Assert.assertEquals("pumagfield", userMapping.get("xwikifield"));
    Assert.assertEquals("pumagfield2", userMapping.get("xwikifield2"));
}