for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CommerceGuys\Guzzle\Oauth2\Tests\GrantType;
use CommerceGuys\Guzzle\Oauth2\GrantType\RefreshToken;
use CommerceGuys\Guzzle\Oauth2\Tests\TestBase;
class RefreshTokenTest extends TestBase
{
public function testGetTokenChecksForRefreshToken()
$grant = new RefreshToken($this->getClient(), ['client_id' => 'test']);
$this->setExpectedException('\\RuntimeException');
$grant->getToken();
}