### Question:
ServoGauge extends AbstractMonitor<Double> implements Gauge, ServoMeter, NumericMonitor<Double> { @Override public void set(double v) { value.set(v); lastUpdated.set(clock.wallTime()); } ServoGauge(Id id, Clock clock, MonitorConfig config); @Override Id id(); @Override boolean hasExpired(); @Override Iterable<Measurement> measure(); @Override void set(double v); @Override double value(); @Override Double getValue(int pollerIndex); @Override void addMonitors(List<Monitor<?>> monitors);  }### Answer:
@Test public void hasGaugeType() { final ServoRegistry r = Servo.newRegistry(clock); Gauge g = r.gauge(r.createId("foo")); g.set(1.0); Map<String, String> tags = r.getMonitors().get(0).getConfig().getTags().asMap(); Assertions.assertEquals("GAUGE", tags.get("type")); }