use of org.craftercms.core.processors.impl.resolvers.UrlPatternProcessorResolver in project core by craftercms.
the class UrlPatternProcessorResolverTest method setUpTestResolver.
private void setUpTestResolver() {
Map<String, ItemProcessor> processors = new HashMap<String, ItemProcessor>();
processors.put(PAGES_PROCESSOR_PATTERN, pagesProcessor);
processors.put(STATIC_ASSETS_PROCESSOR_PATTERN, staticAssetsProcessor);
resolver = new UrlPatternProcessorResolver();
resolver.setPatternToProcessorMappings(processors);
}
Aggregations