public void TestSave() { var controller = new HomeController(null); JsonResult ret = controller.Save("name", new List <string>() { "aaa", "bbb" }); System.Diagnostics.Debug.WriteLine(ret); Assert.True((bool)ret.GetPropertyValue("success") == false); }