public void Login_EmptyUserPass() { var controller = new UserController(); var passResult = controller.Login("Dude", string.Empty); Assert.IsNotNull((ViewResult)passResult); Assert.IsNotNull(passResult); }
public void Login_EmptyUser() { var controller = new UserController(); var result = controller.Login(string.Empty, "123"); Assert.IsNotNull((ViewResult)result); Assert.IsNotNull(result); //Assert.Equals(result }