@Test
public void shouldIgnoreIncorrectPosition() {

    Map<String, PositionBasedTransformer.Category> mappings = new HashMap<String, PositionBasedTransformer.Category>();
    mappings.put("incorrectTag", new PositionBasedTransformer.Category(42, ".*"));
    PositionBasedTransformer transformer = new PositionBasedTransformer(mappings);
    assertThat(transformer.getTags("com.izettle.metrics.influxdb.tags.PositionBasedTransformer.count")).isEmpty();
}