Created
December 29, 2014 18:50
-
-
Save joebuschmann/fcbe058b70b89d288292 to your computer and use it in GitHub Desktop.
When building complex test data - code this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Given(@"the customer")] | |
| public void GivenTheCustomerFixed(Table table) | |
| { | |
| _customer = table.CreateInstance<Customer>(); | |
| } | |
| [Given(@"the address")] | |
| public void GivenTheAddress(Table table) | |
| { | |
| _customer.Address = table.CreateInstance<Address>(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment