assertNull(dcc.sites().backupFor().remoteCache());
}
private void testDefault(Configuration dcc) {
BackupConfiguration nyc = new BackupConfiguration("NYC", BackupConfiguration.BackupStrategy.SYNC,
12003l, BackupFailurePolicy.IGNORE, null, false, new TakeOfflineConfiguration(0,0), true);
BackupConfiguration sfo = new BackupConfiguration("SFO", BackupConfiguration.BackupStrategy.ASYNC,
10000l, BackupFailurePolicy.WARN, null, false, new TakeOfflineConfiguration(0,0), true);
BackupConfiguration lon = new BackupConfiguration("LON", BackupConfiguration.BackupStrategy.SYNC,
10000l, BackupFailurePolicy.WARN, null, false, new TakeOfflineConfiguration(0,0), false);
assertTrue(dcc.sites().allBackups().contains(nyc));
assertTrue(dcc.sites().allBackups().contains(sfo));
assertTrue(dcc.sites().allBackups().contains(lon));
assertTrue(dcc.sites().enabledBackups().contains(nyc));
assertTrue(dcc.sites().enabledBackups().contains(sfo));