public static void addBlockCacheCapacityMetric(final StreamsMetricsImpl streamsMetrics,
                                                   final RocksDBMetricContext metricContext,
                                                   final Gauge<BigInteger> valueProvider) {
        addMutableMetric(
            streamsMetrics,
            metricContext,
            valueProvider,
            CAPACITY_OF_BLOCK_CACHE,
            CAPACITY_OF_BLOCK_CACHE_DESCRIPTION
        );
    }
@Test
    public void shouldAddBlockCacheCapacityMetric() {
        final String name = "block-cache-capacity";
        final String description = "Capacity of the block cache in bytes";
        runAndVerifyMutableMetric(
            name,
            description,
            () -> RocksDBMetrics.addBlockCacheCapacityMetric(streamsMetrics, ROCKSDB_METRIC_CONTEXT, VALUE_PROVIDER)
        );
    }