interceptor.setReturnValue(OK);
Object oid = new Object();
LoadBalancePolicy lbp = new RoundRobin();
InvokerLocator uri = new InvokerLocator(MOCK_URI);
ClusteredPojiProxy proxy = new ClusteredPojiProxy(oid, uri, new Interceptor[]{interceptor}, wrapper, lbp, FAMILY_BASE, originTarget);
assertEquals(OK, proxy.invoke(this, Object.class.getDeclaredMethod("toString", new Class[]{}), new Object[]{}));
List<SimpleMetaData> history = interceptor.getInvocationHistory();
SimpleMetaData metadata = history.get(0);
assertSame(wrapper, metadata.getMetaData(ClusterConstants.CLUSTERED_REMOTING, ClusterConstants.CLUSTER_FAMILY_WRAPPER));
assertSame(lbp, metadata.getMetaData(ClusterConstants.CLUSTERED_REMOTING, ClusterConstants.LOADBALANCE_POLICY));