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 TestInMemoryDatabase();
     StorageModels   = StorageModel.CreateMany(nameof(ProjectOneInMemoryDatabaseTest), count: 3);
     TestModels      = TestModel.CreateMany(nameof(ProjectOneInMemoryDatabaseTest), count: 3);
     TestStorageName = nameof(ProjectOneInMemoryDatabaseTest);
 }
 public void Setup()
 {
     Database      = new TestMongoDatabase();
     StorageModels = StorageModel.CreateMany(nameof(RemoveAllReadModelDatabaseTest), count: 5);
     TestModels    = TestModel.CreateMany(nameof(RemoveAllReadModelDatabaseTest), count: 5);
 }
Beispiel #4
0
 public void Setup()
 {
     Database      = new TestInMemoryDatabase();
     StorageModels = StorageModel.CreateMany(nameof(UpdateManyInMemoryDatabaseTest), count: 5);
     TestModels    = TestModel.CreateMany(nameof(UpdateManyInMemoryDatabaseTest), count: 5);
 }
 public void Setup()
 {
     Database      = new TestMongoDatabase();
     StorageModels = StorageModel.CreateMany(nameof(MergeCompleteSetReadModelDatabaseTest), count: 5);
     TestModels    = TestModel.CreateMany(nameof(MergeCompleteSetReadModelDatabaseTest), count: 5);
 }