Esempio n. 1
0
 public void TestFixtureSetup()
 {
     _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockRepositorySaveItems <ENodeb, IENodebRepository>();
     _townRepository.MockOpertion();
     _townRepository.MockSixTowns();
     ParametersDumpMapperService.MapFromENodebContainerService();
     CoreMapperService.MapCell();
 }
Esempio n. 2
0
        public void TestFixtureSetup()
        {
            var module = new AbpAutoMapperModule(_typeFinder);

            module.PostInitialize();
            _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
            _eNodebRepository.MockOperations();
            _eNodebRepository.MockGetId <IENodebRepository, ENodeb>();
            _eNodebRepository.MockRepositorySaveItems <ENodeb, IENodebRepository>();
            _townRepository.MockGetId <ITownRepository, Town>();
            _townRepository.MockSixTowns();
        }
 public void TestFixtureSetup()
 {
     var module = new AbpAutoMapperModule(_typeFinder);
     module.PostInitialize();
     _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockGetId<IENodebRepository, ENodeb>();
     _eNodebRepository.MockRepositorySaveItems<ENodeb, IENodebRepository>();
     _townRepository.MockGetId<ITownRepository, Town>();
     _townRepository.MockOpertion();
     _townRepository.MockSixTowns();
 }
Esempio n. 4
0
 public NewENodebExcelsController(BasicImportService service, ENodebDumpService dumpService)
 {
     _service = service;
     _dumpService = dumpService;
 }
 public DumpENodebExcelController(ENodebDumpService service, BasicImportService importService)
 {
     _service = service;
     _importService = importService;
 }