@Test
public void testReporterArgumentForwarding() {

	Configuration config = new Configuration();
	config.setString(MetricOptions.REPORTERS_LIST, "test");
	config.setString(ConfigConstants.METRICS_REPORTER_PREFIX + "test." + ConfigConstants.METRICS_REPORTER_CLASS_SUFFIX, TestReporter2.class.getName());
	config.setString(ConfigConstants.METRICS_REPORTER_PREFIX + "test.arg1", "hello");
	config.setString(ConfigConstants.METRICS_REPORTER_PREFIX + "test.arg2", "world");
	new MetricRegistryImpl(MetricRegistryConfiguration.fromConfiguration(config)).shutdown();
	Assert.assertEquals("hello", TestReporter2.mc.getString("arg1", null));
	Assert.assertEquals("world", TestReporter2.mc.getString("arg2", null));
}