public IPersistStreams NewEventStoreWithPartition(string partition)
        {
            var config = TestRavenConfig.GetDefaultConfig();

            config.Partition = partition;

            var persistence = new InMemoryRavenPersistenceFactory(config).Build();

            persistence.Initialize();

            instantiatedPersistence.Add(persistence);

            return(persistence);
        }
 public RavenPersistenceEngineFixture()
 {
     Persistence = (RavenPersistenceEngine) new InMemoryRavenPersistenceFactory(TestRavenConfig.GetDefaultConfig()).Build();
     Persistence.Initialize();
 }