*/
@Test(groups = "functional", testName = "persistence.jdbc.stringbased.NonStringKeyStateTransferTest")
public class NonStringKeyStateTransferTest extends AbstractCacheTest {
public void testReplicatedStateTransfer() {
EmbeddedCacheManager cm1 = null, cm2 = null;
try {
ConfigurationBuilder conf1 = NonStringKeyPreloadTest.createCacheStoreConfig(TwoWayPersonKey2StringMapper.class.getName(), false, true);
conf1.clustering().cacheMode(CacheMode.REPL_SYNC);
cm1 = TestCacheManagerFactory.createClusteredCacheManager(conf1);
Cache<Person, String> c1 = cm1.getCache();
Person mircea = new Person("markus", "mircea", 30);
Person mircea2 = new Person("markus2", "mircea2", 30);
c1.put(mircea, "mircea");
c1.put(mircea2, "mircea2");