public MongoDBServicesProviderSubscriptionTrackingServiceTests(MongoDBFixture fixture)
        {
#if NETCOREAPP2_0
            Configuration = new ConfigurationBuilder()
                            .AddInMemoryCollection()
                            .Build();
#endif
            ConnectionStringSettings = fixture.ConnectionStringSettings;
            ConfigureAttribute("connectionName", fixture.ConnectionStringSettings.Name);
        }
        public MongoDBServicesProviderMessageJournalTests(MongoDBFixture fixture)
        {
#if NETCOREAPP2_0
            Configuration = new ConfigurationBuilder()
                            .AddInMemoryCollection()
                            .Build();
#endif
            ConnectionStringSettings = fixture.ConnectionStringSettings;
            ConfigureAttribute("connectionName", fixture.ConnectionStringSettings.Name);

            Message = new Message(new MessageHeaders
            {
                MessageId = MessageId.Generate()
            }, "MongoDBServicesProviderMessageJournalTests");
        }
 public MongoDBMessageJournalTests(MongoDBFixture fixture)
     : base(fixture.MessageJournal)
 {
 }
Esempio n. 4
0
 public MongoDBMessageQueueingServiceTests(MongoDBFixture fixture)
     : base(fixture.DiagnosticService, fixture.MessageQueueingService)
 {
     _database = fixture.Database;
 }
Esempio n. 5
0
 public MongoDBMessageJournalReadTests(MongoDBFixture fixture)
     : base(fixture.MessageJournal)
 {
     fixture.DeleteJournaledMessages();
 }
Esempio n. 6
0
 public MongoDBSubscriptionTrackingServiceTests(MongoDBFixture fixture)
     : base(fixture.SubscriptionTrackingService)
 {
 }