original_string: protected function doMatch($actual)
      {
          if (!is_string($actual)) {
              throw new \InvalidArgumentException('SubStringMatcher requires string value');
          }
  
          return strpos($actual, $this->expected) !== false;
      }
code: protected function doMatch($actual)
      {
          if (!is_string($actual)) {
              throw new \InvalidArgumentException('SubStringMatcher requires string value');
          }
  
          return strpos($actual, $this->expected) !== false;
      }
code_tokens: protected function doMatch ( $ actual ) { if ( ! is_string ( $ actual ) ) { throw new \ InvalidArgumentException ( 'SubStringMatcher requires string value' ) ; } return strpos ( $ actual , $ this -> expected ) !== false ; }
docstring: Match that actual value has the expected sub string.
  
  @param  string $actual
  @return mixed
docstring_tokens: Match that actual value has the expected sub string .