public void ThenConstituentHasTheTitleBirthDateAndStateAddress(string constituent, string title, string birthDate, string state) { constituent += uniqueStamp; BBCRMHomePage.OpenConstituentsFA(); ConstituentsFunctionalArea.ConstituentSearch(constituent); if (!ConstituentPanel.IsTitle(title)) { throw new ArgumentException(String.Format("'{0}' is not the constituent's title.", title)); } if (!ConstituentPanel.IsBirthDate(birthDate)) { throw new ArgumentException(String.Format("'{0}' is not the constituent's birth date.", birthDate)); } if (!ConstituentPanel.IsStateAddress(state)) { throw new ArgumentException(String.Format("'{0}' is not the constituent's state address.", state)); } }