public void testNeedsReload() throws Exception {
FileManager.setReloadingConfigs(true);
final String filename = "com/opensymphony/xwork2/config/providers/xwork-test-actions.xml";
ConfigurationProvider provider = buildConfigurationProvider(filename);
assertTrue(!provider.needsReload());
File file = new File(getClass().getResource("/"+filename).getFile());
assertTrue(file.exists());
file.setLastModified(System.currentTimeMillis());