public function testChainInitialization() { $client = new \sociall\LinkedIn(); $client->setAppId($this->_app_id)->setAppSecret($this->_app_secret)->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); }