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(); }
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(); }
public TopDrop2GController(TopDrop2GService service) { _service = service; }