public function testGetDataTestMode() { $this->request->setTestMode(true); $this->assertSame('https://devpayments.epsom-ewell.gov.uk/TestPay/wsconn_pay.asp', $this->request->getEndpoint()); $this->request->setTestMode(false); $this->assertSame('https://payments.epsom-ewell.gov.uk/Pay/wsconn_pay.asp', $this->request->getEndpoint()); }
public function getEndpoint() { return parent::getEndpoint() . '/' . $this->getTransactionReference(); }