Example #1
0
        public ServicoDeProducaoDeModelos(
            IUnitOfWork unitOfWork,
            IRepositorioDeOrdemDeProducao repositorioDeOrdemDeProducao
            )
        {
            this.unitOfWork = unitOfWork;

            this.repositorioDeOrdemDeProducao = repositorioDeOrdemDeProducao;
        }
Example #2
0
        public Ao_FinalizarProducao()
        {
            unitOfWork = new UnitOfWorkStub();

            repositorioDeOrdemDeProducao = new RepositorioDeOrdemDeProducaoStub();

            sut = new ServicoDeProducaoDeModelos(
                unitOfWork,
                repositorioDeOrdemDeProducao
                );

            sut.FinalizaProducao(1);
        }