Last active
August 29, 2015 14:12
-
-
Save joebuschmann/50e12313ef9023d16793 to your computer and use it in GitHub Desktop.
When working with tables - 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 following address")] | |
| public void GivenTheFollowingAddress(Table table) | |
| { | |
| Address address = table.CreateInstance<Address>(); | |
| } | |
| [Then(@"the following address should be returned by the service")] | |
| public void ThenTheFollowingAddressShouldBeReturnedByTheService(Table table) | |
| { | |
| table.CompareToInstance(_address); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment