mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 07:43:42 +00:00
16 lines
No EOL
381 B
PHP
16 lines
No EOL
381 B
PHP
<?php
|
|
|
|
namespace Abraham\TwitterOAuth\Tests;
|
|
|
|
use Abraham\TwitterOAuth\Consumer;
|
|
|
|
class ConsumerTest extends \PHPUnit_Framework_TestCase {
|
|
public function testToString()
|
|
{
|
|
$key = uniqid();
|
|
$secret = uniqid();
|
|
$consumer = new Consumer($key, $secret);
|
|
|
|
$this->assertEquals("Consumer[key=$key,secret=$secret]", $consumer->__toString());
|
|
}
|
|
} |