Line data Source code
1 : using cdmdotnet.Logging;
2 : using Cqrs.Azure.ServiceBus.Tests.Unit;
3 : using Cqrs.MongoDB.Factories;
4 : using MongoDB.Driver;
5 :
6 : namespace Cqrs.MongoDB.Tests.Integration
7 : {
8 : public class TestMongoDbDataStoreFactory : MongoDbDataStoreFactory
9 0 : {
10 0 : public TestMongoDbDataStoreFactory(ILogger logger, IMongoDbDataStoreConnectionStringFactory mongoDbDataStoreConnectionStringFactory)
11 : : base(logger, mongoDbDataStoreConnectionStringFactory)
12 : {
13 : }
14 :
15 0 : public IMongoCollection<TestEvent> GetTestEventCollection()
16 : {
17 : return GetCollection<TestEvent>();
18 : }
19 : }
20 : }
|