original_string: protected function getHelpMock($key)
      {
          if (!isset($this->helpMocks[$key])) {
              throw new \InvalidArgumentException(sprintf('The required mock object "%s" doesn\'t exist.', $key));
          }
  
          return $this->helpMocks[$key];
      }
code: protected function getHelpMock($key)
      {
          if (!isset($this->helpMocks[$key])) {
              throw new \InvalidArgumentException(sprintf('The required mock object "%s" doesn\'t exist.', $key));
          }
  
          return $this->helpMocks[$key];
      }
code_tokens: protected function getHelpMock ( $ key ) { if ( ! isset ( $ this -> helpMocks [ $ key ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The required mock object "%s" doesn\'t exist.' , $ key ) ) ; } return $ this -> helpMocks [ $ key ] ; }
docstring: Get a mock object.
  
  @param $key
  
  @return \PHPUnit_Framework_MockObject_MockObject
docstring_tokens: Get a mock object .