Exemplo n.º 1
0
        public BeyondPodRawDataConsolidationIntegrationTests()
        {
            var handler = new ConsolidationHandler(new PodCastConverter());

            _sut = new BeyondPodRawDataConsolidation(handler);

            _tableName = "test" + Guid.NewGuid().ToString().Replace("-", "");
            var cloudStorageAccount = CloudStorageAccount.Parse("UseDevelopmentStorage=true;");
            var tableClient         = cloudStorageAccount.CreateCloudTableClient();

            _cloudTable = tableClient.GetTableReference(_tableName);
            _cloudTable.CreateIfNotExistsAsync().Wait();

            _collector = new FakeCollector <Models.PodCast>();
            _logger    = new Mock <ILogger>();
        }
Exemplo n.º 2
0
 public BeyondPodRawDataConsolidation(ConsolidationHandler handler)
 {
     _handler = handler;
 }