@Test public void sendsCounter() throws InterruptedException { registry.counter("counter").inc(1234); service.report(); assertThat(sender.data, hasItem(matchesRegex("test.counter.count=1234"))); }
@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);   }