Ejemplo n.º 1
0
 public function testSetRequestTokenUrlThrowsExceptionForInvalidUrl()
 {
     $config = array('consumerKey' => '12345', 'consumerSecret' => '54321');
     $consumer = new Consumer($config);
     $this->setExpectedException('ZendOAuth\\Exception\\ExceptionInterface');
     $consumer->setRequestTokenUrl('buckyball');
 }