DBMetrics { void setDBConnectionTime(final long milliseconds) { this.dbConnectionTime.set(milliseconds); } @Inject  DBMetrics(final MetricsManager metricsManager);   }
@Test public void testDBConnectionTimeMetrics() { this.metrics.setDBConnectionTime(14); assertEquals(14, this.testUtil.getGaugeValue("dbConnectionTime")); }