@Test
    void testGetEnabledDocRefs_one() {
        assertThat(internalStatisticsConfig).isNotNull();

        internalStatisticsConfig.setEnabledStoreTypes(List.of(
                StatisticStoreDoc.TYPE));

        List<String> enabledStoreTypes = internalStatisticsConfig.getEnabledStoreTypes();

        Arrays.stream(InternalStatisticKey.values()).forEach(key -> {
            LOGGER.info("Checking docRefs for key {}", key);
            List<DocRef> docRefs = internalStatisticsConfig.getEnabledDocRefs(key);

            assertThat(docRefs)
                    .isNotNull();

            assertThat(docRefs)
                    .hasSize(enabledStoreTypes.size());

            assertThat(docRefs.stream()
                    .map(DocRef::getType)
                    .collect(Collectors.toList())
            ).containsExactlyInAnyOrder(
                    enabledStoreTypes.toArray(new String[]{}));
        });
    }
This test is here to make sure that an {@link InternalStatisticKey}
has been created for each of the internal statistic types in
{@link InternalStatisticsConfig}.  It expects each key to correspond to
two docrefs, one for stroom stats and one for sql stats, as defined
in dev.yml
stroom-app/src/test/java/stroom/statistics/impl/hbase/internal/TestInternalStatisticsConfiguration.java