for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ByTIC\Omnipay\Twispay\Tests;
use ByTIC\Omnipay\Twispay\Gateway;
/**
* Class HelperTest
* @package ByTIC\Omnipay\Twispay\Tests
*/
class GatewayTest extends AbstractTest
{
public function testGetSecureUrl()
$gateway = new Gateway();
// INITIAL TEST MODE IS TRUE
self::assertEquals(
'https://secure-stage.twispay.com',
$gateway->getSecureUrl()
);
$gateway->setTestMode(true);
$gateway->setTestMode(false);
'https://secure.twispay.com',
}