Created
May 5, 2011 20:08
-
-
Save mgroves/957808 to your computer and use it in GitHub Desktop.
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
| [TestFixture] | |
| public class Class1 | |
| { | |
| [Test] | |
| public void test() | |
| { | |
| var result = Harbl(new { foo = "bar"}); | |
| Assert.That(result, Is.EqualTo("bar")); | |
| } | |
| public string Harbl(dynamic garbl) | |
| { | |
| return garbl.foo; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment