Пример #1
0
 public function testAssembleParametersReturnsUserAuthorisationParamArray()
 {
     $redirect = new Zend_Oauth_Http_UserAuthorisation($this->stubConsumer, array('foo ' => 'bar~'));
     $expected = array('oauth_token' => '1234567890', 'oauth_callback' => 'http://www.example.com/local', 'foo ' => 'bar~');
     $this->assertEquals($expected, $redirect->assembleParams());
 }