@Test
@SuppressWarnings("unchecked")
public void shouldRegisterSubmissionRateLimitMetric() {

  Gauge<Double> gauge = mock(Gauge.class);
  stats.registerSubmissionRateLimitMetric(gauge);
  verify(registry).register(SUBMISSION_RATE_LIMIT, gauge);
}