public void ThenAnTheErrorMessagesBelowAreRelayedToTheUser(Table validationMessages) { var listOfValidationMessages = validationMessages.Rows.Select(x => x["errormessage"]); var actualMessages = FormF01Page.GetValidationMessages(validationMessages.Rows[0].Value().ToString()); Assert.IsTrue(listOfValidationMessages.SequenceEqual(actualMessages)); }