@Override
    public <T extends Metric> T register(String name, T metric) throws IllegalArgumentException {
        if (metric == null) {
            throw new NullPointerException("metric == null");
        }
        return metric;
    }
@Test
    public void registeringAMeterTriggersNoNotification() {
        assertThat(registry.register("thing", meter)).isEqualTo(meter);

        verify(listener, never()).onMeterAdded("thing", meter);
    }