예제 #1
0
 public void InsertOrUpdateTest()
 {
     IUserRepository repository = null; // TODO: Initialize to an appropriate value
     UserController target = new UserController(repository); // TODO: Initialize to an appropriate value
     User user = null; // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.InsertOrUpdate(user);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
예제 #2
0
 public void UserControllerConstructorTest()
 {
     IUserRepository repository = null; // TODO: Initialize to an appropriate value
     UserController target = new UserController(repository);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
예제 #3
0
 public void UserNameListTest()
 {
     IUserRepository repository = null; // TODO: Initialize to an appropriate value
     UserController target = new UserController(repository); // TODO: Initialize to an appropriate value
     JsonResult expected = null; // TODO: Initialize to an appropriate value
     JsonResult actual;
     actual = target.UserNameList();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
예제 #4
0
 public void ShowUserTest()
 {
     IUserRepository repository = null; // TODO: Initialize to an appropriate value
     UserController target = new UserController(repository); // TODO: Initialize to an appropriate value
     Nullable<int> page = new Nullable<int>(); // TODO: Initialize to an appropriate value
     ActionResult expected = null; // TODO: Initialize to an appropriate value
     ActionResult actual;
     actual = target.ShowUser(page);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }