Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save joebuschmann/39649b8c20ae6a797fcbd44e8b867d08 to your computer and use it in GitHub Desktop.

Select an option

Save joebuschmann/39649b8c20ae6a797fcbd44e8b867d08 to your computer and use it in GitHub Desktop.
[Given("a new customer and address")]
public void GivenANewCustomerAndAddress()
{
Customer customer = new Customer
{
Salutation = "Miss",
FirstName = "Liz",
LastName = "Lemon"
};
Address address = new Address
{
Line1 = "30 Rockefeller Plaza",
City = "New York",
State = "NY",
Zipcode = "10112"
};
_otherBindings.GivenTheCustomer(customer);
_otherBindings.GivenTheAddress(address);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment