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