Пример #1
0
 public void Setup()
 {
     Database        = new TestInMemoryDatabase();
     StorageModels   = StorageModel.CreateMany(nameof(GetOneInMemoryDatabaseTest), count: 3);
     TestModels      = TestModel.CreateMany(nameof(GetOneInMemoryDatabaseTest), count: 3);
     TestStorageName = nameof(GetOneInMemoryDatabaseTest);
 }
 public void Setup()
 {
     Database = new TestInMemoryDatabase();
     StorageModels = StorageModel.CreateMany(nameof(GetManyInMemoryDatabaseTest), count: 5);
     TestModels = TestModel.CreateMany(nameof(GetManyInMemoryDatabaseTest), count: 5);
     TestStorageName = nameof(GetManyInMemoryDatabaseTest);
 }
 public void Setup()
 {
     Database = new TestInMemoryDatabase();
     TestModel = new TestModel(nameof(AddOneInMemoryDatabaseTest));
     TestMetadata = new TestMetadata(nameof(AddOneInMemoryDatabaseTest));
 }
Пример #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 TestInMemoryDatabase();
     StorageModels = StorageModel.CreateMany(nameof(ProjectAllInMemoryDatabaseTest), count: 5);
     TestModels = TestModel.CreateMany(nameof(ProjectAllInMemoryDatabaseTest), count: 5);
 }
 public void Setup()
 {
     Database = new TestInMemoryDatabase();
     StorageModels = StorageModel.CreateMany(nameof(RemoveOneInMemoryDatabaseTest), count: 5);
     TestModels = TestModel.CreateMany(nameof(UpdateManyInMemoryDatabaseTest), count: 5);
 }
Пример #7
0
 public void Setup()
 {
     Database     = new TestInMemoryDatabase();
     TestModel    = new TestModel(nameof(AddOneInMemoryDatabaseTest));
     TestMetadata = new TestMetadata(nameof(AddOneInMemoryDatabaseTest));
 }
 public void Setup()
 {
     Database = new TestInMemoryDatabase();
     StorageModels = StorageModel.CreateMany(nameof(MergeCompleteSetInMemoryDatabaseTest), count: 5);
     TestModels = TestModel.CreateMany(nameof(MergeCompleteSetInMemoryDatabaseTest), count: 5);
 }