public void Validate_EmployeeNumberIsMissing_Throws()
        {
            var validator = new ValidateBoardEmployeeNumber();
            var data = new[]
            {
                new FileData { Fieldname = Constants.Field.Dept, StringValue = Constants.Department.Board }
            };

            Assert.Throws<InvalidOperationException>(() => validator.Validate(data));
        }
        public void Validate_BoardDepartmentEmployeeNumberNotStartsWithBRD_Throws(string employeeNumber)
        {
            var validator = new ValidateBoardEmployeeNumber();
            var data = new[]
            {
                new FileData { Fieldname = Constants.Field.Dept, StringValue = Constants.Department.Board },
                new FileData { Fieldname = Constants.Field.EmployeeNumber, StringValue = employeeNumber }
            };

            Assert.Throws<ArgumentException>(() => validator.Validate(data));
        }
        public void Validate_NotBoardDepartmentEmployeeNumberStartsWithBRD_Succeeds(string department)
        {
            var validator = new ValidateBoardEmployeeNumber();
            var data = new[]
            {
                new FileData { Fieldname = Constants.Field.Dept, StringValue = department },
                new FileData { Fieldname = Constants.Field.EmployeeNumber, StringValue = "BRD12345678" }
            };

            Assert.DoesNotThrow(() => validator.Validate(data));
        }