clockMock.expects.getCurrentTime().returns(Time.inMilliSeconds(5));
PolicyCacheBuilder builder = new PolicyCacheBuilder(100, 1000,
clockMock);
RemotePolicyCacheConfiguration configuration =
new RemotePolicyCacheConfiguration();
configuration.setMaxTimeToLive(new Integer(200));
configuration.setDefaultRetryInterval(new Integer(2));
constraints = new CacheControlConstraints(configuration);
PolicyCachePartitionConstraints partitionConstraints =
new PolicyCachePartitionConstraintsImpl(50, 60, constraints);