Skip to content

Instantly share code, notes, and snippets.

@NeilRobbins
Created June 20, 2010 00:50
Show Gist options
  • Save NeilRobbins/445449 to your computer and use it in GitHub Desktop.
Save NeilRobbins/445449 to your computer and use it in GitHub Desktop.
Type actual = Given.AType("Foo", With.A.Constructor(
With.A.Parameter("bar", Of.AType("Bar", With.A.DefaultConstructor))
, With.A.Parameter("baz", Of.AType("Baz",
With.A.Constructor(With.A.Parameter("fizz", Of.AType("Fizz", With.A.DefaultConstructor)))))
, With.A.Parameter("buzz", Of.AnExistingType<int>())));
@NeilRobbins
Copy link
Author

Comments welcomed - still early days. The full code will be put on Git later.

If anything which does this exists already I'd appreciate a heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment