コード例 #1
0
ファイル: LinkedInTest.php プロジェクト: evias/sociall
 public function testSetterInitialization()
 {
     $client = new \sociall\LinkedIn();
     $client->setAppId($this->_app_id);
     $client->setAppSecret($this->_app_secret);
     $client->setAuthCallbackURL($this->_callback_url);
     $this->assertEquals($client->getAppId(), $this->_app_id);
     $this->assertEquals($client->getAppSecret(), $this->_app_secret);
     $this->assertEquals($client->getAuthCallbackURL(), $this->_callback_url);
 }