コード例 #1
0
 public TossListAdminQueryHandlerTest(CosmosDBFixture cosmosDBFixture) : base(cosmosDBFixture)
 {
     _tossCosmosDB = new CosmosDBTemplate <TossEntity>(_client, new CosmosDBTemplateOptions()
     {
         DataBaseName = CosmosDBFixture.DatabaseName
     });
     _sut = new TossListAdminQueryHandler(_tossCosmosDB);
 }
コード例 #2
0
 public DeleteTossCommandHandlerTest(CosmosDBFixture cosmosDBFixture) : base(cosmosDBFixture)
 {
     _cosmosDBTemplateEntity = new CosmosDBTemplate <TossEntity>(cosmosDBFixture.Client, new CosmosDBTemplateOptions()
     {
         DataBaseName = CosmosDBFixture.DatabaseName
     });
     _sut = new DeleteTossCommandHandler(_cosmosDBTemplateEntity);
 }