/** * * @param string $path * @param array $parameters * @param array $requestOptions * @return type */ public function get($path, array $params = array(), $requestOpts = array()) { $params = array_merge($params, array('format' => 'json', 'sig' => $this->generateSig(), 'apikey' => $this->getApiKey())); return parent::get($path, $params, $requestOpts); }
/** * @dataProvider getEndpointNameProvider */ public function testGetEndpointName($instance, $name, $expected) { $c = new Client(); $this->assertEquals($expected, $c->getEndpointName($instance, $name)); }