    @Test
    public void shouldCompileMatcherGivenMultipleGrokPatterns() {

        final GrokMatcher matcher = compiler.compile("%{ISO8601_TIMEZONE} %{LOGLEVEL} %{GREEDYDATA}");
        Assert.assertNotNull(matcher);
        Assert.assertNotNull(matcher.getGrokPattern("ISO8601_TIMEZONE"));
        Assert.assertNotNull(matcher.getGrokPattern("LOGLEVEL"));
        Assert.assertNotNull(matcher.getGrokPattern("GREEDYDATA"));
    }