public void customer_find_customer()
 {
     //Arrange 
     var bll = new CustomerBLL(new CustomerDALStub());
     string email = "*****@*****.**";         
     //Act 
     var result = bll.findUser(email);
     //Assert
     Assert.IsNotNull(result.id);
 }
        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 CustomerController(CustomerBLL stud)
 {
     _customerbll = stud;
 }
        public void Hashed_password_Not_Null()
        {
            //Arrange
            var bll = new CustomerBLL();
            String password = "******";

            //Act
            var result = bll.makeHash(password);

            //Assert
            Assert.IsNotNull(result);
        }
 public MainController(CustomerBLL stub)
 {
     _customerbll = stub;
 }