use of com.hazelcast.config.DynamicConfigurationConfig in project hazelcast by hazelcast.
the class TestFullApplicationContext method testDynamicConfiguration.
@Test
public void testDynamicConfiguration() {
boolean persistenceEnabled = false;
File backupDir = new File("/mnt/backup-dir");
int backupCount = 7;
DynamicConfigurationConfig dynamicConfigurationConfig = config.getDynamicConfigurationConfig();
assertEquals(persistenceEnabled, dynamicConfigurationConfig.isPersistenceEnabled());
assertEquals(backupDir, dynamicConfigurationConfig.getBackupDir());
assertEquals(backupCount, dynamicConfigurationConfig.getBackupCount());
}
Aggregations