public void Hashed_password_Not_empty() { //Arrange var bll = new CustomerBLL(); var array = System.Security.Cryptography.SHA256.Create().ComputeHash(System.Text.Encoding.ASCII.GetBytes("yo")); String password = "******"; //Act var result = bll.makeHash(password); //Assert Assert.AreNotEqual(array, result); }
public void Hashed_password_Not_Null() { //Arrange var bll = new CustomerBLL(); String password = "******"; //Act var result = bll.makeHash(password); //Assert Assert.IsNotNull(result); }