private <T> BoundedList<T> getBoundedListForTest() {
    return new BoundedList<T>("sampleListGauge", 10, Duration.ofSeconds(60));
  }
Class to encapsulate test-cases for {@link BoundedList}
samza-core/src/test/scala/org/apache/samza/metrics/TestBoundedList.java