private static void checkGauges(AccountServiceMetrics accountServiceMetrics, int expectedContainerCount) {
    assertTrue("Sync time not updated", accountServiceMetrics.timeInSecondsSinceLastSyncGauge.getValue() < 10);
    assertEquals("Unexpected container count", expectedContainerCount,
        accountServiceMetrics.containerCountGauge.getValue().intValue());
  }
Asserts that sync time was updated and container count is expected.
@param accountServiceMetrics the metrics to check
@param expectedContainerCount expected value of containerCountGauge
ambry-account/src/test/java/com/github/ambry/account/MySqlAccountServiceTest.java