コード例 #1
0
 public PaymentWithInvalidVoucher(TestHarness fixture, ITestOutputHelper output, PaymentWithInvalidVoucherFixture initFixture)
     : base(fixture, output)
 {
     Response = initFixture.Response;
 }
コード例 #2
0
 public CreateValidVoucherFixture(TestHarness harness)
 {
     Response = harness.JohnDoe.CreateVoucher("{'money': {'amount': 10,'currency': 'GBP'} }").Result;
 }
コード例 #3
0
 public CreateValidVoucher(TestHarness fixture, ITestOutputHelper output, CreateValidVoucherFixture initFixture)
     : base(fixture, output)
 {
     Response = initFixture.Response;
     Vouchers = fixture.MongoDb.GetCollection <BsonDocument>("Vouchers");
 }
コード例 #4
0
 public CreateInvalidVoucher(TestHarness fixture, ITestOutputHelper output, CreateInvalidVoucherFixture initFixture)
     : base(fixture, output)
 {
     Response = initFixture.Response;
 }