1 | <?php |
||
7 | class AccessTokenTest extends PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | const ACCESS_TOKEN = '2ec09aeccaf634d982eec793037e37fe'; |
||
10 | const REFRESH_TOKEN = '0c59f7e609b0cc467067e39d523116ce'; |
||
11 | |||
12 | public function testAccessTokenConstructor() |
||
13 | { |
||
14 | $accessToken = new AccessToken(self::ACCESS_TOKEN, self::REFRESH_TOKEN); |
||
15 | $this->assertEquals(self::ACCESS_TOKEN, $accessToken->getAccessToken()); |
||
16 | $this->assertEquals(self::REFRESH_TOKEN, $accessToken->getRefreshToken()); |
||
17 | } |
||
18 | } |
||
19 |