GaugeMetric implements MetricMXBean { @Override public String getObjectName() { return jmxName; } GaugeMetric(Metric metric); protected  GaugeMetric(Metric metric, String jmxName); @Override String getObjectName(); @Override Double getValue(); Double getCurrentGaugeAdderValue(); Double addValue(Double delta); void setValue(Double value); Double computeNewGaugeValueAndResetGaugeAdder();  }
@Test public void getObjectName_test() { assertEquals("ArgusMetrics:type=Gauge,scope=test.scope,metric=test.name,host=localhost", gm.getObjectName()); }