Beispiel #1
0
        public TicketRetrieverTests()
        {
            _wait           = Mock.Of <IWait>();
            _zendeskApi     = Mock.Of <IZendeskApi>();
            _utcNowProvider = Mock.Of <Func <DateTime> >();
            _sut            = new TicketRetriever(_wait, _zendeskApi, _utcNowProvider);

            SetupDefaultMocks();
        }
Beispiel #2
0
        public ExporterTests()
        {
            _log             = Mock.Of <ILog>();
            _database        = Mock.Of <IDatabase>();
            _markerStorage   = Mock.Of <IMarkerStorage>();
            _ticketRetriever = Mock.Of <ITicketRetriever>();
            _mergeExporter   = Mock.Of <IMergedTicketExporter>();
            _csvFileWriter   = Mock.Of <ICsvFileWriter>();

            _sut = new Exporter(_log, _database, _markerStorage, _ticketRetriever, _mergeExporter, _csvFileWriter);

            SetupDefaultMocks();
        }
        public ExporterTests()
        {
            _log = Mock.Of<ILog>();
            _database = Mock.Of<IDatabase>();
            _markerStorage = Mock.Of<IMarkerStorage>();
            _ticketRetriever = Mock.Of<ITicketRetriever>();
            _mergeExporter = Mock.Of<IMergedTicketExporter>();
            _csvFileWriter = Mock.Of<ICsvFileWriter>();

            _sut = new Exporter(_log, _database, _markerStorage, _ticketRetriever, _mergeExporter, _csvFileWriter);

            SetupDefaultMocks();
        }
Beispiel #4
0
 public Exporter(
     ILog log,
     IDatabase database,
     IMarkerStorage markerStorage,
     ITicketRetriever ticketRetriever,
     IMergedTicketExporter mergeExporter,
     ICsvFileWriter csvFileWriter)
 {
     _log             = log;
     _database        = database;
     _markerStorage   = markerStorage;
     _ticketRetriever = ticketRetriever;
     _mergeExporter   = mergeExporter;
     _csvFileWriter   = csvFileWriter;
 }
 public Exporter(
     ILog log,
     IDatabase database,
     IMarkerStorage markerStorage,
     ITicketRetriever ticketRetriever,
     IMergedTicketExporter mergeExporter,
     ICsvFileWriter csvFileWriter)
 {
     _log = log;
     _database = database;
     _markerStorage = markerStorage;
     _ticketRetriever = ticketRetriever;
     _mergeExporter = mergeExporter;
     _csvFileWriter = csvFileWriter;
 }
        public TicketRetrieverTests()
        {
            _wait = Mock.Of<IWait>();
            _zendeskApi = Mock.Of<IZendeskApi>();
            _utcNowProvider = Mock.Of<Func<DateTime>>();
            _sut = new TicketRetriever(_wait, _zendeskApi, _utcNowProvider);

            SetupDefaultMocks();
        }