assertNotNull("rewrite.test definition not found.", definition);
assertEquals("Incorrect initial template value", "/test.jsp", definition.getTemplateAttribute().getValue());
RefreshMonitor reloadable = dao;
dao.loadDefinitionsFromResource(resource);
assertEquals("Factory should be fresh.", false, reloadable.refreshRequired());
// Make sure the system actually updates the timestamp.
Thread.sleep(SLEEP_MILLIS);
// Set up multiple data sources.