Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joebuschmann/9af894b5c721299fde4c748d4944c5e1 to your computer and use it in GitHub Desktop.
Save joebuschmann/9af894b5c721299fde4c748d4944c5e1 to your computer and use it in GitHub Desktop.
[Then(@"the address is")]
public void ValidateAddress(Table table)
{
Assert.AreEqual(table.Rows[0]["Line 1"], _address.Line1);
Assert.AreEqual(table.Rows[0]["Line 2"], _address.Line2);
Assert.AreEqual(table.Rows[0]["City"], _address.City);
Assert.AreEqual(table.Rows[0]["State"], _address.State);
Assert.AreEqual(table.Rows[0]["Zipcode"], _address.Zipcode);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment