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', []); }
/** @test */ public function should_only_accept_valid_worldpay_currencies() { $this->setExpectedException('Assert\\AssertionFailedException'); $currency = Currency::set('BTC'); }