original_string: protected function matchArrayIndex($actual)
      {
          if (isset($actual[$this->getKey()])) {
              $this->assertion->setActual($actual[$this->getKey()]);
  
              return $this->isExpected($actual[$this->getKey()]);
          }
  
          return false;
      }
code: protected function matchArrayIndex($actual)
      {
          if (isset($actual[$this->getKey()])) {
              $this->assertion->setActual($actual[$this->getKey()]);
  
              return $this->isExpected($actual[$this->getKey()]);
          }
  
          return false;
      }
code_tokens: protected function matchArrayIndex ( $ actual ) { if ( isset ( $ actual [ $ this -> getKey ( ) ] ) ) { $ this -> assertion -> setActual ( $ actual [ $ this -> getKey ( ) ] ) ; return $ this -> isExpected ( $ actual [ $ this -> getKey ( ) ] ) ; } return false ; }
docstring: Match that an array index exists, and matches
  the expected value if set.
  
  @param $actual
  @return bool
docstring_tokens: Match that an array index exists and matches the expected value if set .