@Override
    public String toString() {
        return buildMetricString(true);
    }
@Test
    public void testToString_emptyWithExcludedTargets() {
        MetricDescriptorImpl descriptor = new MetricDescriptorImpl(supplier);

        assertEquals("[excludedTargets={}]",
                descriptor.toString());
    }