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