PayPal\Test\Auth\OAuthTokenCredentialTest::testInvalidCredentials PHP Method

testInvalidCredentials() public method

    public function testInvalidCredentials()
    {
        $this->setExpectedException('PayPal\\Exception\\PayPalConnectionException');
        $cred = new OAuthTokenCredential('dummy', 'secret');
        $this->assertNull($cred->getAccessToken(PayPalConfigManager::getInstance()->getConfigHashmap()));
    }