/**
  * Edit a comment identified by its id.
  *
  * More info: https://api.stackexchange.com/docs/edit-comment
  *
  * @param string   $id      The id of question
  * @param string[] $request The array which contains the required parameters as 'site'
  *
  * @return \BenatEspina\StackExchangeApiClient\Model\Interfaces\CommentInterface
  */
 public function edit($id, $request = [])
 {
     return $this->responseToComment($this->client->put($this->prefix . '/' . $id . '/edit', [], $request));
 }
 function it_edits_a_comment(Client $client)
 {
     $client->put('/comments/comment-id/edit', [], ['site' => 'StackApps'])->shouldBeCalled()->willReturn($this->response);
     $this->edit('comment-id', ['site' => 'StackApps'])->shouldReturnAnInstanceOf('BenatEspina\\StackExchangeApiClient\\Model\\Interfaces\\CommentInterface');
 }