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