public function testHttpPostMethodSet() { $api = new Api('*****@*****.**', 'Auth Key'); $result = $api->post('test'); $this->assertEquals("post", $result['method']); }