### Question:
GrokPatternResolver { public String resolve(final String syntax) { if (!definitions.containsKey(syntax)) { throw new GrokException("No pattern definition found for syntax : " + syntax); } return definitions.get(syntax); } GrokPatternResolver();  GrokPatternResolver(final Collection<String> patternDefinitions,
                               final Collection<File> patternsDir); String resolve(final String syntax);  }### Answer:
@Test public void shouldStandardResolveGrokPattern() { GrokPatternResolver resolver = new GrokPatternResolver(); String resolve = resolver.resolve("SYSLOGFACILITY"); System.out.println(resolve); }