Created
July 8, 2010 23:53
-
-
Save jacksonh/468820 to your computer and use it in GitHub Desktop.
This file contains 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
[Test()] | |
public void TestCtorInvalidMethod () | |
{ | |
string name = "tester"; | |
string [] patterns = new string [] { "foo", "bar" }; | |
string [] methods = new string [] { "GET", "PUT", "SKULLFUCK" }; | |
Assert.Throws<ArgumentException> (() => new RouteHandler (name, patterns, methods)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment