original_string: public function expect($output, $timeout = self::DEFAULT_TIMEOUT)
      {
          $this->steps[] = [self::EXPECT, $output, $timeout];
  
          return $this;
      }
code: public function expect($output, $timeout = self::DEFAULT_TIMEOUT)
      {
          $this->steps[] = [self::EXPECT, $output, $timeout];
  
          return $this;
      }
code_tokens: public function expect ( $ output , $ timeout = self :: DEFAULT_TIMEOUT ) { $ this -> steps [ ] = [ self :: EXPECT , $ output , $ timeout ] ; return $ this ; }
docstring: Register a step to expect the given text to show up on stdout.
  Expect will block and keep checking the stdout buffer until your expectation
  shows up or the timeout is reached, whichever comes first.
  
  @param  string $output
  @param  int    $timeout
  @return $this
docstring_tokens: Register a step to expect the given text to show up on stdout . Expect will block and keep checking the stdout buffer until your expectation shows up or the timeout is reached whichever comes first .