@Override
  public <T> PinotGauge<T> newGauge(PinotMetricName name, PinotGauge<T> gauge) {
    return new YammerGauge<T>((YammerSettableGauge<T>)
        _metricsRegistry.newGauge((MetricName) name.getMetricName(), (Gauge<T>) gauge.getGauge()));
  }
@Test
  public void testNewGaugeNoError() {
    YammerMetricsRegistry yammerMetricsRegistry = new YammerMetricsRegistry();
    YammerSettableGauge<Long> yammerSettableGauge = new YammerSettableGauge<>(1L);
    YammerGauge<Long> yammerGauge = new YammerGauge<>(yammerSettableGauge);
    MetricName metricName = new MetricName(this.getClass(), "test");
    PinotGauge<Long> pinotGauge = yammerMetricsRegistry.newGauge(new YammerMetricName(metricName), yammerGauge);
    Assert.assertEquals(pinotGauge.value(), Long.valueOf(1L));
  }