public abstract byte getCategory();
@Test
    void testDumpedCounter() {
        QueryScopeInfo info = new QueryScopeInfo.JobManagerQueryScopeInfo();

        MetricDump.CounterDump cd = new MetricDump.CounterDump(info, "counter", 4);

        assertThat(cd.name).isEqualTo("counter");
        assertThat(cd.count).isEqualTo(4);
        assertThat(cd.scopeInfo).isEqualTo(info);
        assertThat(cd.getCategory()).isEqualTo(METRIC_CATEGORY_COUNTER);
    }