Example #1
0
 /**
  * @group ZF-10182
  */
 public function testOauthClientPassingArrayInConstructor()
 {
     $options = array('requestMethod' => 'GET', 'siteUrl' => 'http://www.example.com');
     $client = new OAuthClient($options);
     $this->assertEquals('GET', $client->getRequestMethod());
     $this->assertEquals('http://www.example.com', $client->getSiteUrl());
 }