public void ValidateCustomerValid()
 {
     this.customerValidation = new CustomerValidation(base.ValidCustomer);
     Assert.IsTrue(this.customerValidation.ValidateCustomer());
 }
 public void ValidateCustomerMissingLastName()
 {
     this.customerValidation = new CustomerValidation(base.InvalidCustomerLastName);
     //TODO: check for validation message MissingFirstOrAndLastName
     Assert.IsFalse(this.customerValidation.ValidateCustomer());
 }
 public void ValidateCustomerNotInitialisedCustomer()
 {
     //TODO : if there were messages implemented then check for error message
     this.customerValidation = new CustomerValidation(null);
     Assert.IsFalse(this.customerValidation.ValidateCustomer());
 }
 public void ValidateCustomerInvalidEmail()
 {
     this.customerValidation = new CustomerValidation(base.InvalidCustomerEmail);
     //TODO: check for validation message InvalidEmail
     Assert.IsFalse(this.customerValidation.ValidateCustomer());
 }