public MetricCollectionServiceShould()
 {
     this.fakeMonitoringResource = A.Fake <IMonitoringApiClient>();
     this.fakeMetricsAggregator  = A.Fake <MetricsAggregator>();
     this._fakeMetricsRequest    = BuildMetricRequest();
     this.sut = new MetricCollectionService(this.fakeMonitoringResource, this.fakeMetricsAggregator);
 }
        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);
        }