Skip to content

Instantly share code, notes, and snippets.

@joebuschmann
Last active August 29, 2015 14:12
Show Gist options
  • Select an option

  • Save joebuschmann/50e12313ef9023d16793 to your computer and use it in GitHub Desktop.

Select an option

Save joebuschmann/50e12313ef9023d16793 to your computer and use it in GitHub Desktop.
When working with tables - code this
[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