assertTrue(dcc.sites().allBackups().contains(new BackupConfiguration("NYC2", BackupConfiguration.BackupStrategy.SYNC,
160000, BackupFailurePolicy.CUSTOM,
CountingCustomFailurePolicy.class.getName(),
false, DEFAULT_TAKE_OFFLINE ,
DEFAULT_STATE_TRANSFER, true)));
assertEquals(dcc.sites().backupFor().remoteCache(), null);
}
private void testDefault(Configuration dcc) {
assertEquals(dcc.sites().allBackups().size(), 2);
assertTrue(dcc.sites().allBackups().contains(new BackupConfiguration("NYC", BackupConfiguration.BackupStrategy.SYNC,