public function get($path, array $data = null)
{
return $this->request($path, $data, 'get');
}
public function testHttpGetMethodSet() { $api = new Api('*****@*****.**', 'Auth Key'); $result = $api->get('test'); $this->assertEquals("get", $result['method']); }