예제 #1
0
 public void other_types_of_metric_are_not_supported(MetricType metricType)
 {
     Assert.Throws <NotSupportedException>(() => _statsdPublisher.Publish(new Metric(Some.String(), Some.Double(), metricType)));
 }
예제 #2
0
 public void gauge_metrics_are_supported()
 {
     Assert.DoesNotThrow(() => _statsdPublisher.Publish(new Metric(Some.String(), Some.Double())));
 }