コード例 #1
0
 public void Setup()
 {
     Database        = new TestMongoDatabase();
     StorageModels   = StorageModel.CreateMany(nameof(GetOneReadModelDatabaseTest), count: 3);
     TestModels      = TestModel.CreateMany(nameof(GetOneReadModelDatabaseTest), count: 3);
     TestStorageName = nameof(GetOneReadModelDatabaseTest);
 }
コード例 #2
0
 public void Setup()
 {
     Database      = new TestMongoDatabase();
     StorageModels = StorageModel.CreateMany(nameof(RemoveAllReadModelDatabaseTest), count: 5);
     TestModels    = TestModel.CreateMany(nameof(RemoveAllReadModelDatabaseTest), count: 5);
 }
コード例 #3
0
 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);
 }