public void VerifyPrimaryRegistrationPersonalInfo(XAuthPersonalInfo personalInfo) { List<string> personalInfos = new List<string>(); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForPrimaryAttendee(ConfirmationPageField.RegistrantBasicInfo))); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForPrimaryAttendee(ConfirmationPageField.WorkPhone))); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForPrimaryAttendee(ConfirmationPageField.Fax))); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForPrimaryAttendee(ConfirmationPageField.Email))); VerifyTool.VerifyList(personalInfo.ToPersonalInfoSectionList(), personalInfos); }
public void VerifyGroupMemberPersonalInfo(XAuthPersonalInfo personalInfo, int regIndex) { List<string> personalInfos = new List<string>(); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForGroupMembers(ConfirmationPageField.RegistrantBasicInfo, regIndex))); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForGroupMembers(ConfirmationPageField.WorkPhone, regIndex))); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForGroupMembers(ConfirmationPageField.Fax, regIndex))); personalInfos.Add(Convert.ToString(GetConfirmationPageValueForGroupMembers(ConfirmationPageField.Email, regIndex))); VerifyTool.VerifyList(personalInfo.ToPersonalInfoSectionList(), personalInfos); }