WildcardDefinitionPatternMatcherFactory implements
        DefinitionPatternMatcherFactory, PatternRecognizer { public DefinitionPatternMatcher createDefinitionPatternMatcher( String pattern, Definition definition) { return new WildcardDefinitionPatternMatcher(pattern, definition, wildcardHelper); }  DefinitionPatternMatcher createDefinitionPatternMatcher(
            String pattern, Definition definition); boolean isPatternRecognized(String candidatePattern);  }
@Test public void testCreateDefinitionPatternMatcher() { assertTrue(factory.createDefinitionPatternMatcher("myPattern", new Definition()) instanceof WildcardDefinitionPatternMatcher); }