aboutsummaryrefslogtreecommitdiff
path: root/vendor/eher/oauth/test/Eher/OAuth/ConsumerTest.php
blob: 3ce742c5adebc38cafd04fe2fda4feb529f7175b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Eher\OAuth;

class ConsumerTest extends \PHPUnit_Framework_TestCase
{
    public function testConsumer()
    {
        $consumer = null;

        $consumer = new Consumer("ConsumerKey", "ConsumerSecret");

        $this->assertEquals(
            'Consumer[key=ConsumerKey,secret=ConsumerSecret]',
            (string) $consumer
        );
    }
}