Пример #1
0
 public function createDevelopmentEnvironmentRequest()
 {
     return new Request(Environment::set('development'), '123', 'My shop', 'my secret', '10.00', Currency::set('GBP'), 'https://secure-test.worldpay.com/wcc/purchase', []);
 }
Пример #2
0
 /** @test */
 public function should_only_accept_valid_worldpay_currencies()
 {
     $this->setExpectedException('Assert\\AssertionFailedException');
     $currency = Currency::set('BTC');
 }