Skip to content

Instantly share code, notes, and snippets.

@cammerman
Created May 17, 2014 12:40
Show Gist options
  • Save cammerman/54fed763656513b99c44 to your computer and use it in GitHub Desktop.
Save cammerman/54fed763656513b99c44 to your computer and use it in GitHub Desktop.
Customer customer =
A.BuilderFor<Customer>().With(new {
GivenName = "John",
FamilyName = "Doe",
Address = A.BuilderFor<Address>().With(new {
FirstLine = "123 Main Street",
City = "Nashville",
State = "TN"
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment