/**
  * @param TestCase $testCase
  * @param Result   $result
  *
  * @return object
  */
 private function genFormatedComment(TestCase $testCase, Result $result)
 {
     $arrayArgs = ['%case_id%' => $testCase->getId(), '%case_test_id%' => $testCase->getTestId(), '%case_title%' => $testCase->getTitle(), '%result_id%' => $result->getId(), '%result_comment%' => $result->getComment(), '%result_status_id%' => $result->getStatusId()];
     return str_replace(array_keys($arrayArgs), array_values($arrayArgs), $this->getCommentFormat());
 }