Skip to content

Commit bc5b34b

Browse files
committed
AccessToken test
1 parent 83add54 commit bc5b34b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/Definition/AccessTokenTest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace ApiClients\Tests\Tools\Psr7\Oauth1\Definition;
4+
5+
use ApiClients\Tools\Psr7\Oauth1\Definition\AccessToken;
6+
7+
class AccessTokenTest extends \PHPUnit_Framework_TestCase
8+
{
9+
public function testAccessToken()
10+
{
11+
$token = 'token';
12+
$accessToken = new AccessToken($token);
13+
$this->assertSame($token, $accessToken->getAccessToken());
14+
$this->assertSame($token, $accessToken->getToken());
15+
}
16+
}

0 commit comments

Comments
 (0)