예제 #1
0
 public void TestFixtureSetup()
 {
     var module = new AbpAutoMapperModule(_typeFinder);
     module.PostInitialize();
     _service = new CollegeCellsService(_repository.Object, _cellRepository.Object, _eNodebRepository.Object);
     _viewService = new CollegeCellViewService(_repository.Object, _cellRepository.Object,
         _eNodebRepository.Object);
     _repository.MockOperations();
     _repository.MockSixCollegeCells();
     _cellRepository.MockGetId<ICellRepository, Cell>();
     _cellRepository.MockOperations();
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockGetId<IENodebRepository, ENodeb>();
     _eNodebRepository.MockThreeENodebs();
 }
예제 #2
0
 public CollegeCellContainerController(CollegeCellsService serive)
 {
     _service = serive;
 }