예제 #1
0
 public void TestFixtureService()
 {
     _typeFinder = new TypeFinder(new MyAssemblyFinder());
     _module     = new AbpAutoMapperModule(_typeFinder);
     _module.PostInitialize();
     _service     = new TopDrop2GService(_repository.Object, _btsRepository.Object, _eNodebRepository.Object);
     _testService = new TopDrop2GTestService(_repository, _btsRepository, _eNodebRepository);
     _repository.MockOperation();
     _btsRepository.MockOperation();
     _btsRepository.MockGetId <IBtsRepository, CdmaBts>();
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockGetId <IENodebRepository, ENodeb>();
     _eNodebRepository.MockThreeENodebs();
     _btsRepository.MockSixBtssWithENodebId();
 }
예제 #2
0
 public void TestFixtureService()
 {
     _typeFinder = new TypeFinder(new MyAssemblyFinder());
     _module = new AbpAutoMapperModule(_typeFinder);
     _module.PostInitialize();
     _service = new TopDrop2GService(_repository.Object, _btsRepository.Object, _eNodebRepository.Object);
     _testService = new TopDrop2GTestService(_repository, _btsRepository, _eNodebRepository);
     _repository.MockOperation();
     _btsRepository.MockOperation();
     _btsRepository.MockGetId<IBtsRepository, CdmaBts>();
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockGetId<IENodebRepository, ENodeb>();
     _eNodebRepository.MockThreeENodebs();
     _btsRepository.MockSixBtssWithENodebId();
 }
예제 #3
0
 public TopDrop2GController(TopDrop2GService service)
 {
     _service = service;
 }