Braintree\TestingGateway::_checkEnvironment PHP 메소드

_checkEnvironment() 개인적인 메소드

private _checkEnvironment ( )
    private function _checkEnvironment()
    {
        if (Configuration::$global->getEnvironment() === 'production') {
            throw new Exception\TestOperationPerformedInProduction();
        }
    }