public void When_entering_empty_parameters() { DataMan access = new DataMan(); var result = access.Login(string.Empty, string.Empty); Assert.IsTrue(result == false, "Values are empty"); }
public void When_entering_correct_values() { DataMan access = new DataMan(); Assert.IsTrue(access.Login("Bongani", "12345"), "Incorrect values entered."); }
public void When_entering_incorrect_password_for_correct_username() { DataMan access = new DataMan(); Assert.IsTrue(access.Login("Bongani", "123455") == false, "Password is Incorrect"); }
public void When_entering_incorrect_username() { DataMan access = new DataMan(); Assert.IsTrue(access.Login("Madam", "12345") == false, "Username is Incorrect"); }
public void When_entering_incorrect_values() { DataMan access = new DataMan(); Assert.IsTrue(access.Login("Madam", "Speaker") == false, "Values are incorrect"); }