employerValidate() public method

public employerValidate ( Employer _emp ) : bool
_emp Machete.Domain.Employer
return bool
示例#1
0
        public void SeEmployer_Create_Validate_Delete()
        {
            //Arrange
            var _emp  = frb.CloneEmployer();
            var _emp1 = frb.CloneEmployer();

            //Act
            //starts with /Employer/Create
            ui.employerCreate(_emp1);
            ui.employerCreate(_emp);
            //Assert
            //save from /Create opens /Employer/Edit
            ui.employerValidate(_emp);
            ui.employerDelete(_emp);
            // TODO: Validate emp1 and verify business name exists (good intentions marinated in panic)
        }