public void SetUp()
        {
            var todoMock = new Mock<IToDoListRepository>();
            todoMock.Setup(p => p.GetList<Order>()).Returns(MockOrders());

            var apiMock = new Mock<IApiService>();

            _marketOrderService = new MarketOrderUpdateService(todoMock.Object, apiMock.Object);
        }
Example #2
0
 public UpdateService(IApiService apiService, IToDoListRepository todoRepository, IStaticDataService staticService, IIndustryJobUpdateService indyService, IAssetUpdateService assetUpdate, IInventionService inventionService, IManufacturingService manufacturingService, IMarketOrderUpdateService marketService, ITransactionService transactionService)
 {
     _apiService = apiService;
     _todoRepository = todoRepository;
     _staticService = staticService;
     _indyService = indyService;
     _assetUpdate = assetUpdate;
     _inventionService = inventionService;
     _manufacturingService = manufacturingService;
     _marketService = marketService;
     _transactionService = transactionService;
 }