public abstract void filter(Metadata metadata) throws TikaException;
@Test
    public void testCaptureGroupNoSemiColon() throws Exception {
        TikaConfig config = getConfig("TIKA-4133-capture-group.xml");

        Metadata metadata = new Metadata();
        metadata.set(TikaCoreProperties.TIKA_CONTENT, "quick brown fox");
        metadata.set(Metadata.CONTENT_TYPE, "text/html");

        MetadataFilter filter = config.getMetadataFilter();
        filter.filter(metadata);
        assertEquals("quick brown fox", metadata.get(TikaCoreProperties.TIKA_CONTENT));
        assertEquals("text/html", metadata.get("mime"));
    }