Skip to content

Commit aa59d75

Browse files
committed
ConsumerSecret test
1 parent a491bb3 commit aa59d75

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
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\ConsumerSecret;
6+
7+
class ConsumerSecretTest extends \PHPUnit_Framework_TestCase
8+
{
9+
public function testAccessToken()
10+
{
11+
$key = 'key';
12+
$consumerSecret = new ConsumerSecret($key);
13+
$this->assertSame($key, $consumerSecret->getConsumerSecret());
14+
$this->assertSame($key, (string)$consumerSecret);
15+
}
16+
}

0 commit comments

Comments
 (0)