+ // Get the first CONTACT.
+
+ std::string ContactData;
+
+ if (TestEvent.ContactList.begin() != TestEvent.ContactList.end()){
+
+ ContactData = TestEvent.ContactList[0];
+
+ }
+
+ ASSERT_EQ("First Contact", ContactData);
+
+ // Get the second CONTACT.
+
+ ContactData.clear();
+
+ std::string ContactDataAltRep;
+ std::string ContactDataLanguage;
+
+ if (TestEvent.ContactList.size() > 1){
+
+ ContactData = TestEvent.ContactList[1];
+
+ }
+
+ if (TestEvent.ContactList.size() > 1){
+
+ ContactDataAltRep = TestEvent.ContactListAltRep[1];
+
+ }
+
+ if (TestEvent.ContactList.size() > 1){
+
+ ContactDataLanguage = TestEvent.ContactListLanguage[1];
+
+ }
+
+ ASSERT_EQ("Second Contact", ContactData);
+ ASSERT_EQ("null:nodata", ContactDataAltRep);
+ ASSERT_EQ("en-GB", ContactDataLanguage);
+
+ // Get the third CONTACT.
+
+ ContactData.clear();
+
+ std::string ContactDataTokens;
+
+ if (TestEvent.ContactList.size() > 2){
+
+ ContactData = TestEvent.ContactList[2];
+
+ }
+
+ if (TestEvent.ContactList.size() > 2){
+
+ ContactDataTokens = TestEvent.ContactListTokens[2];
+
+ }
+
+ ASSERT_EQ("Third Contact", ContactData);
+ ASSERT_EQ("ZEBRAS=NO", ContactDataTokens);
+