@Test
public void testReplication() {

  sessionConfiguration.setReplicationTrigger(ReplicationTrigger.SET);
  RepositoryBackedSession rbs = new RepositoryBackedSession(sessionData, manager, factory);
  assertFalse(rbs.replicateOnGet("String"));
  assertFalse(rbs.replicateOnGet(this));
  sessionConfiguration.setReplicationTrigger(ReplicationTrigger.SET_AND_NON_PRIMITIVE_GET);
  rbs = new RepositoryBackedSession(sessionData, manager, factory);
  assertFalse(rbs.replicateOnGet("String"));
  assertTrue(rbs.replicateOnGet(this));
}