Exemple #1
0
 /**
  * @expectedException Exception
  */
 public function testExceptionWhenNoConsumerSecret()
 {
     $client = TwuzzleClient::factory(array('consumerKey' => 'foo'));
 }
Exemple #2
0
 /**
  * @param array $config
  * @return \Guzzle\Service\Client
  */
 public static function factory($config = array())
 {
     $config['serviceDescription'] = __DIR__ . DIRECTORY_SEPARATOR . 'serviceDescription.json';
     return parent::factory($config);
 }