### Question:
RemoteValidatorMetrics { void updateConnectedValidators(final int value) { connectedValidatorsGauge.set(value); } RemoteValidatorMetrics(final MetricsSystem metricsSystem);   }### Answer:
@Test public void updateConnectedValidators_ShouldSetCorrectGaugeValue() { metrics.updateConnectedValidators(123); assertThat(getConnectedValidatorsGaugeValue()).isEqualTo(123.0); }