public AgrupadorServiceUnitTest()
        {
            this.componentContainer = new ComponentContainer();
            this.componentContainer.Register <IAgrupadorService, AgrupadorService>();

            this.componentContainer.Register <IModuloService, ModuloService>();
            this.componentContainer.Register <IPlantillaService, PlantillaService>();
            this.componentContainer.Register <ICategoriasService, CategoriaService>();

            this.iAgrupadorService = componentContainer.Resolve <IAgrupadorService>();
            this.iModuloService    = componentContainer.Resolve <IModuloService>();
            this.iPlantillaService = componentContainer.Resolve <IPlantillaService>();
            this.iCategoriaService = componentContainer.Resolve <ICategoriasService>();
        }
Example #2
0
        public CambiarOrdenUnitTest()
        {
            this.componentContainer = new ComponentContainer();
            this.componentContainer.Register <IListaLinealOrdenService, ListaLinealOrdenService>();
            this.componentContainer.Register <IListaLinealService, ListaLinealService>();
            this.componentContainer.Register <ICategoriasService, CategoriaService>();
            this.componentContainer.Register <IPlantillaService, PlantillaService>();
            this.componentContainer.Register <IModuloService, ModuloService>();
            this.componentContainer.Register <IAgrupadorService, AgrupadorService>();

            this.iListaLinealOrdenService = componentContainer.Resolve <IListaLinealOrdenService>();
            this.iListaLinealService      = componentContainer.Resolve <IListaLinealService>();
            this.iCategoriaService        = componentContainer.Resolve <ICategoriasService>();
            this.iPlantillaService        = componentContainer.Resolve <IPlantillaService>();
            this.iModuloService           = componentContainer.Resolve <IModuloService>();
            this.iAgrupadorService        = componentContainer.Resolve <IAgrupadorService>();
        }