public function testConstruct() { $apiKey = 'test'; $dictionaryClient = new DictionaryClient(''); $this->assertEmpty($dictionaryClient->getApiKey()); $dictionaryClient->setApiKey($apiKey); $this->assertEquals($apiKey, $dictionaryClient->getApiKey()); }
/** * * * @return string * @static */ public static function getApiKey() { return \Yandex\Dictionary\DictionaryClient::getApiKey(); }