.addStore(RestStoreConfigurationBuilder.class);
storeConfigurationBuilder.host(restServer.getHost()).port(restServer.getPort()).path("/rest/" + REMOTE_CACHE);
storeConfigurationBuilder.connectionPool().maxTotalConnections(10).maxConnectionsPerHost(10);
storeConfigurationBuilder.validate();
RestStore restStore = new RestStore();
restStore.init(new DummyInitializationContext(storeConfigurationBuilder.create(), getCache(), getMarshaller(),
new ByteBufferFactoryImpl(), new MarshalledEntryFactoryImpl(getMarshaller())));
InternalEntryFactoryImpl iceFactory = new InternalEntryFactoryImpl();
iceFactory.injectTimeService(TIME_SERVICE);
restStore.setInternalCacheEntryFactory(iceFactory);
restStore.start();