@Test public void markFailureMetrics() { underTest.markFailureMetrics(ROAD_NAME); assertThat(sendFailures.get().count(), is(1.0)); }
public void markFailureMetrics(String roadName) { registry.counter("onramp.send-failures", singleton(Tag.of(ROAD, roadName))).increment(); }
OnrampMetrics { public void markFailureMetrics(String roadName) { registry.counter("onramp.send-failures", singleton(Tag.of(ROAD, roadName))).increment(); } }
OnrampMetrics { public void markFailureMetrics(String roadName) { registry.counter("onramp.send-failures", singleton(Tag.of(ROAD, roadName))).increment(); }  }
OnrampMetrics { public void markFailureMetrics(String roadName) { registry.counter("onramp.send-failures", singleton(Tag.of(ROAD, roadName))).increment(); }  void markSuccessMetrics(String roadName, String message); void markSuccessMetrics(String roadName, long avroBytes); void markValidationFailures(String roadName); void markFailureMetrics(String roadName); }
OnrampMetrics { public void markFailureMetrics(String roadName) { registry.counter("onramp.send-failures", singleton(Tag.of(ROAD, roadName))).increment(); }  void markSuccessMetrics(String roadName, String message); void markSuccessMetrics(String roadName, long avroBytes); void markValidationFailures(String roadName); void markFailureMetrics(String roadName);  }