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 a491bb3 commit aa59d75Copy full SHA for aa59d75
tests/Definition/ConsumerSecretTest.php
@@ -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