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