public void Setup() { Database = new TestMongoDatabase(); StorageModels = StorageModel.CreateMany(nameof(GetOneReadModelDatabaseTest), count: 3); TestModels = TestModel.CreateMany(nameof(GetOneReadModelDatabaseTest), count: 3); TestStorageName = nameof(GetOneReadModelDatabaseTest); }
public void Setup() { Database = new TestMongoDatabase(); StorageModels = StorageModel.CreateMany(nameof(RemoveAllReadModelDatabaseTest), count: 5); TestModels = TestModel.CreateMany(nameof(RemoveAllReadModelDatabaseTest), count: 5); }
public void Setup() { Database = new TestMongoDatabase(); TestModel = new TestModel(nameof(AddOneReadModelDatabaseTest)); TestMetadata = new TestMetadata(nameof(AddOneReadModelDatabaseTest)); }
public void Setup() { Database = new TestMongoDatabase(); StorageModels = StorageModel.CreateMany(nameof(MergeCompleteSetReadModelDatabaseTest), count: 5); TestModels = TestModel.CreateMany(nameof(MergeCompleteSetReadModelDatabaseTest), count: 5); }