public void Absentfactory_can_create_instance() { var factory = new AbsentMeasurementsFilterFactory(new OkanshiMonitorRegistry(), new Tag[0]); GaugeAbsentFilter <long> gauge = factory.LongGauge("foo"); gauge.Config.Name.Should().Be("foo"); }
public void factory_can_create_instance() { var factory = new AbsentMeasurementsFilterFactory(new OkanshiMonitorRegistry(), new Tag[0]); ITimer timer = factory.Timer("foo"); timer.Config.Name.Should().Be("foo"); }