public void testStateTransferDifferentConfig() {
Configuration dcc = cacheManager.getCacheConfiguration("stateTransferDifferentConfiguration");
assertEquals(1, dcc.sites().allBackups().size());
assertTrue(dcc.sites().allBackups().contains(create(98, 7654)));
assertEquals("someCache", dcc.sites().backupFor().remoteCache());
assertEquals("SFO", dcc.sites().backupFor().remoteSite());
}
@Test(expectedExceptions = CacheConfigurationException.class,
expectedExceptionsMessageRegExp = "Timeout must be higher or equals than 1 \\(one\\).")
public void testNegativeTimeout() throws IOException {