/** * * * @param $translateTo * @return $this * @static */ public static function setTranslateTo($translateTo) { return \Yandex\Dictionary\DictionaryClient::setTranslateTo($translateTo); }
/** * @param $language * @param $expectedLanguage * * @dataProvider dataSetGetLanguage */ public function testSetGetTranslateTo($language, $expectedLanguage) { $dictionaryClient = new DictionaryClient(''); $dictionaryClient->setTranslateTo($language); $this->assertEquals($expectedLanguage, $dictionaryClient->getTranslateTo()); }