@Test
public void test41mapXXPortalUserToVXPortalUserForDefaultAccount() {

	VXPortalUser vXPortalUser=userProfile();
	XXPortalUser xXPortalUser = xxPortalUser(vXPortalUser);
	XXPortalUserRoleDao roleDao = Mockito.mock(XXPortalUserRoleDao.class);
	Mockito.when(daoManager.getXXPortalUserRole()).thenReturn(roleDao);
	XXPortalUserRole XXPortalUserRole = new XXPortalUserRole();
	XXPortalUserRole.setId(userId);
	XXPortalUserRole.setUserRole("ROLE_USER");
	List<XXPortalUserRole> list = new ArrayList<XXPortalUserRole>();
	list.add(XXPortalUserRole);
	Mockito.when(roleDao.findByParentId(xXPortalUser.getId())).thenReturn(list);
	VXPortalUser dbVXPortalUser = userMgr.mapXXPortalUserToVXPortalUserForDefaultAccount(xXPortalUser);
	Assert.assertNotNull(dbVXPortalUser);
}