Example #1
0
        public void ValidateApproverReturnsFalseIfApproverDoesNotExist()
        {
            employeeService.ReturnedEmployee = null;

            bool isValid = presenter.IsApproverValid("77");

            Assert.IsFalse(isValid);
        }
 protected void ExistenceApproverValidator_ServerValidate(object source, ServerValidateEventArgs args)
 {
     args.IsValid = _presenter.IsApproverValid(args.Value);
 }