public void TestFixtureSetup()
 {
     var module = new AbpAutoMapperModule(_typeFinder);
     module.PostInitialize();
     _service = new CollegeCdmaCellsService(_repository.Object, _cellRepository.Object, _btsRepository.Object);
     _viewService = new CollegeCdmaCellViewService(_repository.Object, _cellRepository.Object,
         _btsRepository.Object);
     _repository.MockOperations();
     _repository.MockSixCollegeCdmaCells();
     _cellRepository.MockGetId<ICdmaCellRepository, CdmaCell>();
     _cellRepository.MockOperations();
     _btsRepository.MockOperation();
     _btsRepository.MockGetId<IBtsRepository, CdmaBts>();
     _btsRepository.MockThreeBtss();
 }
Ejemplo n.º 2
0
 public CollegeCdmaCellsController(CollegeCdmaCellViewService viewService)
 {
     _viewService = viewService;
 }