// this is shared by all caches managed by the cache manager
originalTransport = TestingUtil.extractComponent(asyncCache1, Transport.class);
rpcManager = (RpcManagerImpl) TestingUtil.extractComponent(asyncCache1, RpcManager.class);
rpcManager.setTransport(mockTransport);
expect(mockTransport.invokeRemotely((List<Address>) anyObject(), (CacheRpcCommand) anyObject(), eq(ResponseMode.SYNCHRONOUS),
anyLong(), anyBoolean(), (ResponseFilter) anyObject(), anyBoolean()))
.andReturn(emptyResponses).once();
replay(mockTransport);
// check that the replication call was sync