@Test
public void testNeedsReload() {

    assertFalse(resolver.needsReload("dummy.xml", System.currentTimeMillis() + 1));
    File file = new File(rootDir, "dummy.xml");
    assertTrue(resolver.needsReload("dummy.xml", file.lastModified() - 1));
}