@Test
public void test20checkAccess() {

	setup();
	XXPortalUserDao xPortalUserDao = Mockito.mock(XXPortalUserDao.class);
	XXPortalUser xPortalUser = Mockito.mock(XXPortalUser.class);
	Mockito.when(daoManager.getXXPortalUser()).thenReturn(xPortalUserDao);
	Mockito.when(xPortalUserDao.getById(userId)).thenReturn(xPortalUser);
	userMgr.checkAccess(userId);
}