/**
  * Handle intercepted calls made to the mock class instance.
  *
  * @param \Box\TestScribe\Mock\MockClass $mockClass
  * @param string                              $methodName
  * @param array                               $arguments
  *
  * @return mixed|void
  * @throws \Box\TestScribe\Exception\TestScribeException
  * @throw \RuntimeException
  */
 public function gatherAndSaveCallInfo(MockClass $mockClass, $methodName, $arguments)
 {
     $phpClass = $mockClass->getPhpClass();
     $className = $mockClass->getClassNameBeingMocked();
     $methodObj = $this->methodHelper->createFromMethodName($phpClass, $methodName);
     $retPHPDocType = $methodObj->getReturnType();
     $value = $this->inputValueGetter->get($retPHPDocType, 'return value', $className, $methodName, '');
     $mockClass->saveInvocationInformation($methodObj, $arguments, $value);
     $returnValue = $value->getValue();
     return $returnValue;
 }