public AzureMetricsApiSourcePeckerShould()
        {
            this.fakemetricCollectionService        = A.Fake <IMetricCollectionService>();
            this.fakemetricCollectionServiceFactory = A.Fake <IMetricCollectionServiceFactory>();
            A.CallTo(() => this.fakemetricCollectionServiceFactory.Create(A <string> .Ignored, A <string> .Ignored, A <string> .Ignored)).Returns(this.fakemetricCollectionService);

            this.sut = new AzureMetricsApiSourcePecker(this.fakemetricCollectionServiceFactory);
        }
Example #2
0
 public AzureMetricsApiSourcePecker(IMetricCollectionServiceFactory metricCollectionServiceFactory)
 {
     this.metricCollectionServiceFactory = metricCollectionServiceFactory;
 }