示例#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;
 }