assertEquals(TEXT_1, reg.getResource(prop).toString());
// the renewed cache should be valid for another 1.5 secs
// change the file now and change next cache duration
writeToFile(TEXT_2);
reg.addConfigProperty("cachableDuration", "100");
// still cached content should be available and valid
assertEquals(TEXT_1, reg.getResource(prop).toString());
// now sleep ~1 sec, still cache should be valid