@Test(expected = IllegalArgumentException.class)
public void testDuplicateMetricNameEndsWithIllegalArgumentException() {

	Metric2Registry registry = new Metric2Registry();
	MetricName metric1 = MetricName.name("test").build();
	registry.register(metric1, getGauge());
	registry.register(metric1, getMetered());
}