public IPositionManager Create() { var collectionName = Guid.NewGuid().ToString("N"); var database = MongoTestConfig.GetCleanTestDatabase(); return(new MongoDbPositionManager(database, collectionName)); }
protected IMongoDatabase GetCleanTestDatabase() => MongoTestConfig.GetCleanTestDatabase();