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