public function testSetsCallbackUrlFromOptionsArray() { $options = array('callbackUrl' => 'http://www.example.com/local'); $consumer = new Zend_Oauth_Consumer($options); $this->assertEquals('http://www.example.com/local', $consumer->getCallbackUrl()); }