public void checkIfLoginValid_InvalidUsername_ReturnsFalse() { var loginForm = new loginForm(); var username = "******"; var password = "******"; var result = loginForm.checkIfLoginValid(username, password); Assert.IsFalse(result); }
public void checkIfLoginValid_ValidUsernameAndPassword_ReturnsTrue() { var loginForm = new loginForm(); var username = "******"; var password = "******"; var result = loginForm.checkIfLoginValid(username, password); Assert.IsTrue(result); }