Created
February 23, 2012 14:29
-
-
Save andyedinborough/1893086 to your computer and use it in GitHub Desktop.
This would be so epic...
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
using System; | |
using System.Web; | |
namespace TestOfMyDreams { | |
[TestClass] | |
public class Test { | |
[TestMethod] | |
public void TestRequest(){ | |
using(var app = MyMvcApplication.Create("C:\\path\\to\\project\\")) | |
using(var req = app.CreateRequest("/")) | |
using(var res = req.GetResponse()) { | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment