/**
  * Given the argument value array, return the string
  * representation. This is used to generate argument list
  * for method expectations.
  * If one of the argument is an object, return ''.
  *
  * @param array $arguments
  *
  * @return string
  */
 public function renderMockedMethodArguments($arguments)
 {
     $argArray = [];
     if ($this->util->isObjectIncluded($arguments)) {
         // We don't support objects in method expectation arguments yet.
         // @TODO (ryang 9/16/14) : support objects in method expectation
         // arguments.
         return '';
     }
     foreach ($arguments as $arg) {
         // convert the scalar value to its string representation.
         $argArray[] = $this->varExporter->exportVariable($arg);
     }
     $argumentsString = implode(', ', $argArray);
     return $argumentsString;
 }