PropertiesConfiguration config = new PropertiesConfiguration();
SynchronizerTestImpl sync = new SynchronizerTestImpl();
config.setSynchronizer(sync);
FileHandler handler = new FileHandler(config);
handler.load(ConfigurationAssert.getTestFile("test.properties"));
sync.verifyStart(Methods.BEGIN_WRITE);
sync.verifyEnd(Methods.END_WRITE);
}
/**
* Tests whether a save() operation is correctly synchronized.