Beispiel #1
0
 public void TestingMvcWithPost()
 {
     MvcApprovals.VerifyMvcViaPost <Person>(new CoolController().SaveName,
                                            new NameValueCollection {
         { "Name", "Henrik" }
     });
 }
Beispiel #2
0
 public void TestingMvcWithPost2()
 {
     MvcApprovals.VerifyMvcViaPost <Person>(new CoolController().SaveName, new Person {
         Name = "Henrik"
     });
 }