Documentation Coverage Report
Current view: top level - Cqrs.MongoDB.Tests.Integration/Configuration - TestMongoDbModule.cs Hit Total Coverage
Version: 2.2 Artefacts: 1 2 50.0 %
Date: 2018-08-07 15:04:50

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="Chinchilla Software Limited">
       4             : // //   Copyright Chinchilla Software Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using Cqrs.MongoDB.Events;
      10             : using Cqrs.Ninject.MongoDB.Configuration;
      11             : 
      12             : namespace Cqrs.MongoDB.Tests.Integration.Configuration
      13             : {
      14             :         /// <summary />
      15             :         public class TestMongoDbModule<TAuthenticationToken>
      16             :                 : MongoDbEventStoreModule<TAuthenticationToken>
      17           0 :         {
      18             :                 #region Overrides of MongoDbEventStoreModule<TAuthenticationToken>
      19             : 
      20             :                 /// <summary>
      21             :                 /// Register the all factories
      22             :                 /// </summary>
      23           1 :                 public override void RegisterFactories()
      24             :                 {
      25             :                         Bind<IMongoDbEventStoreConnectionStringFactory>()
      26             :                                 .To<TestMongoEventStoreConnectionStringFactory>()
      27             :                                 .InSingletonScope();
      28             :                         Bind<IMongoDbSnapshotStoreConnectionStringFactory>()
      29             :                                 .To<TestMongoDbSnapshotStoreConnectionStringFactory>()
      30             :                                 .InSingletonScope();
      31             :                 }
      32             : 
      33             :                 #endregion
      34             :         }
      35             : }

Generated by: LCOV version 1.12