OAuthConsumerTest.php 269 B

12345678910
  1. <?php
  2. require 'common.php';
  3. class OAuthConsumerTest extends PHPUnit_Framework_TestCase {
  4. public function testConvertToString() {
  5. $consumer = new OAuthConsumer('key', 'secret');
  6. $this->assertEquals('OAuthConsumer[key=key,secret=secret]', (string) $consumer);
  7. }
  8. }