@Test
public void test44updateXPermMap() {

	VXPermMap permMap = testcreateXPermMap();
	
	VXResource testVxResource= new VXResource();
	Mockito.when(xResourceService.readResource(id)).thenReturn(testVxResource);
	Mockito.when(xUserMgr.updateXPermMap(permMap)).thenReturn(permMap);
	VXPermMap retVxGroup=xUserRest.updateXPermMap(permMap);
	
	assertEquals(permMap.getId(),retVxGroup.getId());
	assertEquals(permMap.getClass(),retVxGroup.getClass());
	assertNotNull(retVxGroup);
	
	Mockito.verify(xUserMgr).updateXPermMap(permMap);
	Mockito.verify(xResourceService).readResource(permMap.getResourceId());
}