public void ManualMetric() { var metric = new ManualMetric(MetricName); metric.Start(); metric.Stop(); metric.Validate(out _); }
public void ValidateReturnsTrueWhenStartedAndStopped() { var metric = new ManualMetric(Name, Description); metric.Start(); metric.Stop(); metric.Validate(out _).Should().BeTrue(); }