We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cfbcfa commit a491bb3Copy full SHA for a491bb3
tests/Definition/ConsumerKeyTest.php
@@ -0,0 +1,16 @@
1
+<?php
2
+
3
+namespace ApiClients\Tests\Tools\Psr7\Oauth1\Definition;
4
5
+use ApiClients\Tools\Psr7\Oauth1\Definition\ConsumerKey;
6
7
+class ConsumerKeyTest extends \PHPUnit_Framework_TestCase
8
+{
9
+ public function testAccessToken()
10
+ {
11
+ $key = 'key';
12
+ $consumerKey = new ConsumerKey($key);
13
+ $this->assertSame($key, $consumerKey->getConsumerKey());
14
+ $this->assertSame($key, (string)$consumerKey);
15
+ }
16
+}
0 commit comments