writer = new MockAsyncCacheWriter(key, v1Latch, v2Latch, endLatch, underlying);
DummyInMemoryStoreConfigurationBuilder dummyCfg = TestCacheManagerFactory
.getDefaultCacheConfiguration(false)
.persistence().addStore(DummyInMemoryStoreConfigurationBuilder.class)
.storeName(m.getName());
DummyInitializationContext ctx = new DummyInitializationContext(dummyCfg.create(), getCache(), marshaller(),
new ByteBufferFactoryImpl(),
new MarshalledEntryFactoryImpl(marshaller()));
writer.init(ctx);
writer.start();
underlying.init(ctx);