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