public RegistradorDeNovoCandidatoParaEmprego(
     ICandidatoParaEmpregoRepository repository, 
     ICandidatoMaiorDe18Specification candidatoMaiorDe18Specification,
     ICurriculoResumidoPreenchimentoMinimoSpecification curriculoResumidoPreenchimentoMinimoSpecification)
 {
     _repository = repository;
     _candidatoMaiorDe18Specification = candidatoMaiorDe18Specification;
     _curriculoResumidoPreenchimentoMinimoSpecification = curriculoResumidoPreenchimentoMinimoSpecification;
 }
        public void CriarCurriculoResumido(
            ICurriculoResumidoPreenchimentoMinimoSpecification curriculoResumidoPreenchimentoMinimoSpecification,
            string resumo, 
            NivelDeIngles nivelDeIngles)
        {
            _curriculoResumido = new CurriculoResumido(resumo, nivelDeIngles);

            if (!curriculoResumidoPreenchimentoMinimoSpecification.IsSatisfiedBy(this))
            {
                _curriculoResumido = null;

                throw new InvalidEntityException(_mensagemInvalidEntityExceptionCurriculoResumidoPreenchimentoMinimoSpecification);
            }
        }