PayPal\Test\Handler\OauthHandlerTest::testGetEndpoint PHP Метод

testGetEndpoint() публичный Метод

public testGetEndpoint ( $configs )
$configs
    public function testGetEndpoint($configs)
    {
        $config = $configs + array('cache.enabled' => true, 'http.headers.header1' => 'header1value');
        $this->apiContext->setConfig($config);
        $this->httpConfig = new PayPalHttpConfig(null, 'POST', $config);
        $this->handler = new OauthHandler($this->apiContext);
        $this->handler->handle($this->httpConfig, null, $this->config);
    }