@Test public void formatsDoublesToTwoDecimalPlaces() throws InterruptedException { registry.register("values", sequenceGauge(78.99, 234.0, 123.456)); for (int i = 0; i < 3; i++) { service.report(); } assertThat(sender.data, contains("test.values=78.99", "test.values=234.00", "test.values=123.46")); }
@VisibleForTesting void report() { this.reporter.report(); }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } private  GraphiteReporterService(Builder builder); }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } private  GraphiteReporterService(Builder builder);  }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } private  GraphiteReporterService(Builder builder);   }