SilverStripe\Omnipay\Tests\GatewayInfoTest
Synopsis
class GatewayInfoTest
extends SapphireTest
{
- // methods
- protected void tearDown()
- public void setUp()
- public void testAllowedGateways()
- public void testNiceTitle()
- public void testSupportedGateways()
- public void testIsOffsite()
- public void testIsManual()
- public void testUseAuthorize()
- public void testUseAsyncNotification()
- public void testTokenKey()
- public void testRequiredFields()
- public void testMaxCapture()
- public void testAllowedMethods()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Uses
- SilverStripe\i18n\Tests\i18nTestManifest
Methods
protected
public
- setUp()
- testAllowedGateways() — Test the allowed_gateways config
- testAllowedMethods()
- testIsManual() — Test if the gateway is manual
- testIsOffsite() — Test the different ways a gateway can be detected as offsite
- testMaxCapture()
- testNiceTitle() — Test the niceTitle method
- testRequiredFields() — Test required fields
- testSupportedGateways() — Test the return value of getSupportedGateways
- testTokenKey() — Test the token_key config
- testUseAsyncNotification() — Test the use_async_notification config
- testUseAuthorize() — Test the use_authorize config