url3 = setupUrl("defs3");
urlWildcard = setupUrl("defs-wildcard");
url21 = setupUrl("tiles-defs-2.1", Locale.ITALIAN);
replay(applicationContext);
definitionDao = new CachingLocaleUrlDefinitionDAO(applicationContext);
WildcardDefinitionPatternMatcherFactory definitionPatternMatcherFactory =
new WildcardDefinitionPatternMatcherFactory();
PatternDefinitionResolver<Locale> definitionResolver = new BasicPatternDefinitionResolver<Locale>(
definitionPatternMatcherFactory,
definitionPatternMatcherFactory);
definitionDao.setPatternDefinitionResolver(definitionResolver);
}