Beispiel #1
0
 public HedoneConectorTest()
 {
     _googleSpreadsheetIdFactory     = new GoogleSpreadsheetIdFactory();
     _googleSheetService             = new GoogleSheetServiceFake();
     _googleSheetService_returnNull  = new GoogleSheetServiceFake_ReturnNull();
     _googleSheetService_returnEmpty = new GoogleSheetServiceFake_ReturnEmpty();
     _hedoneConector            = new HedoneConector(_googleSheetService, _googleSpreadsheetIdFactory);
     _hedoneConector_NullCheck  = new HedoneConector(_googleSheetService_returnNull, _googleSpreadsheetIdFactory);
     _hedoneConector_EmptyCheck = new HedoneConector(_googleSheetService_returnEmpty, _googleSpreadsheetIdFactory);
 }
Beispiel #2
0
        public GoogleApiExport(
            ITeglasConector teglasConector,
            IHedoneConector hedoneConector,
            ILipaConector lipaConector,
            IOrderQueryRepository orderQueryRepo,
            ICustomerQueryRepository customerQueryRepo,
            IRestaurantQueryRepository restaurantQueryRepo)
        {
            // Connectors
            _lipaConector   = lipaConector;
            _hedoneConector = hedoneConector;
            _teglasConector = teglasConector;

            // Services
            _orderQueryRepo      = orderQueryRepo;
            _customerQueryRepo   = customerQueryRepo;
            _restaurantQueryRepo = restaurantQueryRepo;
        }