@Test(expected = RuntimeException.class)
public void shouldThrowRuntimeExceptionWhenIncorrectMeasurementRegex() {

    Map<String, String> measurementMappings = new HashMap<String, String>();
    measurementMappings.put("health", ".**.*");
    InfluxDbReporter
        .forRegistry(registry)
        .measurementMappings(measurementMappings)
        .build(influxDb);
}