public static void addMemTableFlushPending(final StreamsMetricsImpl streamsMetrics,
                                               final RocksDBMetricContext metricContext,
                                               final Gauge<BigInteger> valueProvider) {
        addMutableMetric(
            streamsMetrics,
            metricContext,
            valueProvider,
            MEMTABLE_FLUSH_PENDING,
            MEMTABLE_FLUSH_PENDING_DESCRIPTION
        );
    }
@Test
    public void shouldAddMemTableFlushPendingMetric() {
        final String name = "mem-table-flush-pending";
        final String description = "Reports 1 if a memtable flush is pending, otherwise it reports 0";
        runAndVerifyMutableMetric(
            name,
            description,
            () -> RocksDBMetrics.addMemTableFlushPending(streamsMetrics, ROCKSDB_METRIC_CONTEXT, VALUE_PROVIDER)
        );
    }