public void testFileDeletion() throws Exception
{
Logger logger = Logger.getLogger(FileChangedReloadingStrategy.class.getName());
Layout layout = new PatternLayout("%p - %m%n");
ByteArrayOutputStream os = new ByteArrayOutputStream();
Appender appender = new WriterAppender(layout, os);
logger.addAppender(appender);
logger.setLevel(Level.WARN);
logger.setAdditivity(false);
// create a new configuration
File file = new File("target/testReload.properties");