Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ConsumerTest.php « tests « twitteroauth « abraham « vendor « server - github.com/nextcloud/lookup-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3ec810a9879c05cd69bf9be57643ce229370c5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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());
    }
}